Understanding the Working Principle of CAN Bus

Click the above Understanding the Working Principle of CAN Bus “Easy Learning Electronics” to follow and easily learn electronic knowledge.

Easy Learning Electronics Subscription

Daily updates on technical articles in the electronics industry and the latest news on microcontrollers, making it easy to learn anytime, anywhere.

In a CAN bus, the priority of messages sent by all transceivers ranges from the least significant bit (LSB) to the most significant bit (MSB); the message with the highest priority will be sent. Specifically for CAN, if two transceivers send messages simultaneously, they both “open their mouths” to say a “0” (logical high level); the lower the value, the higher the importance of the message. In other words, if both transceivers are “shouting”, the one that “shuts up” first must wait until the other transceiver has finished sending before it can speak. This entire process is called arbitration, more precisely, non-destructive arbitration.

When designing communication systems, you can freely use many robust languages. Some of these expressions are quite mature and have clear meanings, while other languages are still developing, such as CAN bus. CAN is a very robust differential signaling communication protocol. This protocol was originally designed for automotive applications, allowing communication between microcontrollers, sensors, or integrated circuits without a host controller.

The working principle of CAN is also one of the reasons for its robustness. Its differential signaling topology allows it to easily cope with coupled noise. In the event of a shift caused by ground layer noise, this feature keeps the transmission lines, CANL and CANH, together. Unlike other differential protocols, when CAN is in receive state (a logical 1), both lines will be at the same voltage, typically VCC/2 (unless it is a 3V CAN bus transceiver, in which case it would be a completely different way of dialogue). When the CAN lines are driven separately, this becomes the dominant state and a logical 0. Imagine CANL and CANH as two lips of a mouth: L is the lower lip, while H is the upper lip. When you want to speak, you tell yourself to part your lips and open your mouth. This is a low-level active logic signaling, where “0” is set when you open your mouth to speak. When you are not speaking, your lips are tightly closed, and the CANH and CANL lines are both at VCC/2 level.

Understanding the Working Principle of CAN Bus

Figure 1: CAN Signaling and Logical Levels

In addition to these basic principles, CAN bus is also continuously evolving. New adjustments and enhancements are making this technology more efficient and unlocking new levels of performance.

> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

How to Share to Moments

Click the top right corner Understanding the Working Principle of CAN Bus and select Understanding the Working Principle of CAN Bus to share to Moments.

How to Follow “Easy Learning Electronics”

1. On WeChat, click the top right corner “+” and select “Add Friends” → Search for “Easy Learning Electronics” in “Find Official Accounts” to find and follow us. 2. You can also search for the WeChat ID “Easy Learning Electronics” to find and follow us.

How to View Historical Messages

Click the top right icon to enter “Account Information” → “View Historical Messages”.

Easy Learning Electronics Subscription

WeChat Name: Easy Learning Electronics updates various knowledge in the electronics industry and the latest news on microcontrollers every day, opening your visual feast.

Easy Learning Electronics Service Account

WeChat Name: Easy Learning Electronics is a new knowledge sharing platform that allows you to view the latest articles and online videos on Easy Learning Electronics website, taking you into the world of technical development learning for electronic engineers.

==> Visit www.eeskill.com to learn more!

Leave a Comment