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.

A transmitting node will not resynchronize due to propagation delays of its own<br />

transmitted message. The receivers will synchronize normally.<br />

If the absolute magnitude of the phase error is greater than the SJW, then the<br />

appropriate phase segment will be adjusted by an amount equal to the SJW.<br />

The synchronization test performs a hard synchronization by transitioning the rx line<br />

from recessive to dominant (logic “1” to logic “0”) and then waits for ten bit times before<br />

transitioning from dominant to recessive (logic “0” to logic “1”). Ten more bit times pass before<br />

another transition occurs. This simulates a resynchronization on time. This test also simulates<br />

early (two frames early) and late resynchronization (two frames and one frame late) before<br />

finally performing another resynchronization on time. For this test, no physical CAN nodes<br />

were connected to the Altera DE2 Development and Education Board. This test was performed<br />

and verified using ModelSim to prove validity and integrity of the synthesizable CAN<br />

Controller and Verilog® code modules.<br />

5.3.21.2 Bus-Off Test (bus_off_test)<br />

This test simulates a CAN node being in the Bus-Off state (See Figure 3.10). For this<br />

to happen, a value of 256 is placed in the TEC, since receive errors cannot cause a CAN node<br />

to go Bus-Off. While in this state, the CAN node cannot send or receive messages,<br />

acknowledge messages, or transmit Error Frames of any kind. At the present, the only way for a<br />

CAN node to leave this state is by a software reset.<br />

183

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

Saved successfully!

Ooh no, something went wrong!