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.

Table 5.20 Bus-Off Test (bus_off_test) Results.<br />

Speed(kbps) Data Bytes Length of test Messages Sent Messages Rec’d<br />

10<br />

60 min 226,718 0<br />

20 60 min 457,433 0<br />

62.5 60 min 1,413,317 0<br />

125<br />

250<br />

8<br />

60 min<br />

60 min<br />

2,817,783<br />

5,628,518<br />

0<br />

0<br />

500 60 min 11,249,982 0<br />

800 60 min 17,977,528 0<br />

1000 60 min 22,401,991 0<br />

5.3.21.3 Error Test (error_test)<br />

CAN nodes have the ability to determine fault conditions and transition to different<br />

modes based on the severity of problems being encountered. They also have the ability to<br />

differentiate between short disturbances and permanent failures and modify their functionality<br />

accordingly. CAN nodes can transition from functioning like a normal node (being able to<br />

transmit and receive messages normally), to shutting down completely (Bus-Off) based on the<br />

severity of the errors detected. There are five error conditions (Section 3.4) and three error states<br />

(Section 3.5) defined in the CAN protocol that a node can be in, based upon the type and<br />

number of error conditions detected [21 – 22]. The errors simulated in this test are as follows:<br />

CRC Error, Acknowledge Error, Form Error, Bit Error, and Stuff Error. The error states<br />

simulated in this test are as follows: Error-Active, Error-Passive, and Bus-Off.<br />

CRC Error Test – For this test the Altera DE2 board is configured as the transmitting<br />

node while all 30 other nodes act as receivers. A 15-bit CRC value is calculated<br />

according to the following formula: 15 14 10 8 7 4 3 1<br />

X X X X X X X<br />

. All other<br />

nodes on the network receive this message, calculate a CRC and verify that the CRC<br />

values match. For test purposes, bit 8 was complemented in the receiving nodes to cause<br />

185

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

Saved successfully!

Ooh no, something went wrong!