15.08.2013 Views

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CAN is a serial bus protocol with multi-master capabilities allowing all nodes to<br />

transmit data and multiple nodes to request access to the bus simultaneously. Arbitration is<br />

required if more than one node is accessing the bus. The bus arbitration method used in CAN<br />

is called Carrier Sense Multiple Access with Collision Detection and Arbitration on Message<br />

Priority (CSMA/CD + AMP), and works as follows. While the bus is idle, a “hard<br />

synchronization” on the Start-Of-Frame (S<strong>OF</strong>) bits transmitted by those nodes attempting to<br />

write to the bus occurs, after which each of these nodes sends the bits of its message identifier<br />

and monitors the bus level. Per definition, bits with a dominant value (zero) overwrite those with<br />

a recessive value (one). If, at some point, node i sends a recessive bit but reads back a dominant<br />

bit, then the message identifier of some other transmitting node has a lower binary value and<br />

therefore a higher priority than node i’s message. Node i therefore loses the arbitration and<br />

switches to listening-only mode. At the conclusion of this process, the node with the highest-<br />

priority message wins the arbitration and this message has been broadcast to the other nodes<br />

[39].<br />

Slave-side arbitration moves the arbitration logic close to the slave, such that the<br />

algorithm determines which master gains access to a specific slave in the event that multiple<br />

masters attempt to access the same slave at the same time. Some of the benefits associated with<br />

this arbitration scheme include: eliminating the need to create arbitration hardware manually,<br />

allowing multiple masters to transfer data simultaneously to different slaves, and providing<br />

configurable arbitration settings thus allowing arbitration for each slave to be specified<br />

independently.<br />

85

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!