CAN – Full form of CAN is Controller area network
CAN is a peer-to-peer network. Peer-to-peer means a network whose architecture is designed such as workload is distributed between peers/nodes. In the CAN system, files or data can be shared between nodes without any need of master/central server/device. This means individual nodes are capable of reading and writing data on the CAN bus.
CAN – CONTROLLER AREA NETWORK : WORKING
- When a CAN node is ready to transmit data, it checks to see if the bus is busy, and then simply writes a CAN frame to the network.
- The transmitted CAN frames do not include the transmitting or receiving node addresses. Rather, the frame is identified by a unique arbitration ID throughout the network.
- All nodes on the CAN network receive the CAN frame and each CAN node on the network determines whether to accept the frame or not, based on the arbitration ID sent with the frame.
- When several nodes concurrently try to send a message to the CAN bus, the highest priority node (lowest arbitration ID) will immediately have access to the bus. Lower-priority nodes have to wait until the bus is available before attempting to retransmit.
In this way, CAN networks can be implemented to ensure deterministic communication among CAN nodes.