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.

an Error Frame to be generated. After ten bit time slots, the message is resent with the<br />

proper CRC value to simulate whether all nodes received the message properly.<br />

Acknowledge Error – For this test, the Altera DE2 board checks if the Acknowledge Bit<br />

(which it has sent as a recessive bit) contains a dominant bit. The purpose of this<br />

dominant bit is to acknowledge that at least one node correctly received the message. If<br />

this bit is recessive, then no node received the message properly and an Acknowledge<br />

Error will occur. Both scenarios, recessive and dominant states, are tested to ensure<br />

proper message reception by all CAN nodes. For the recessive state, an Acknowledge<br />

Error occurs and an Error Frame is generated. After ten bit time slots the original<br />

message is resent with a dominant bit in the Acknowledge Field to verify the successful<br />

retransmission of the message.<br />

Form Error – If any node detects a dominant bit in the End of Frame, Interframe Space,<br />

Acknowledge Delimiter or CRC Delimiter, the CAN protocol defines this to be a form<br />

violation and a Form Error is generated. For this test, a dominant bit is placed in each of<br />

the bit positions to cause a Form Error to be generated for each of these conditions. After<br />

waiting for ten bit times, the original message is then resent to all 30 CAN nodes<br />

verifying proper operation.<br />

Bit Error – This situation arises if a transmitter sends a dominant bit and detects a<br />

recessive bit, or if it sends a recessive bit and detects a dominant bit when monitoring the<br />

actual bus level and comparing it to the bit that it has just sent. If a Bit Error is detected,<br />

an Error Frame is generated. To verify this, the actual bit sent is complemented from the<br />

receiver nodes and after ten bit times the bit is sent again in its uncomplemented form.<br />

186

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

Saved successfully!

Ooh no, something went wrong!