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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Error, CRC Error, Acknowledge Error, and Stuff Error. A summary of these error checking<br />

methods is provided in Table 3.3.<br />

Bit ErrorEvery transmitting node monitors its own messages as it transmits them<br />

across the bus, checking the bits in each frame for errors. A transmitting node always<br />

reads back the message as it is sending [21 – 22]. The node will detect a Bit Error if it<br />

sends out a dominant bit when it was supposed to transmit a recessive bit, or a recessive<br />

bit when the message called for a dominant bit. Also, if the bit is not part of the<br />

Arbitration Field or Acknowledge Slot, a Bit Error has been detected. At this point, an<br />

Error Frame is generated and the original message is then resent after a proper<br />

intermission time.<br />

Form ErrorThe first bit in every frame must always be a dominant bit. If any node in<br />

the network detects a dominant bit in one of the following four segments of the message:<br />

End-Of-Frame, Interframe Space, Acknowledge Delimiter, or CRC Delimiter, a Form<br />

Error has occurred. An Error Frame is then generated and the original message is then<br />

resent later after a proper intermission time.<br />

CRC ErrorCyclic redundancy checking is a very effective method of looking for errors<br />

in a network by applying a polynomial equation to a block of transmitted data. The<br />

transmitting node calculates a 15-bit CRC value according to the polynomial Gxin Equation 3.1. The CAN bus applies a CRC-15 with a hamming distance of D 6 for<br />

8 byte information data packets. All nodes on the network receive this message, calculate<br />

their own CRC and verify that the CRC values match. If the values do not match, a CRC<br />

59

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

Saved successfully!

Ooh no, something went wrong!