01.08.2013 Views

Chapter 23 Controller Area Network (CAN).pdf

Chapter 23 Controller Area Network (CAN).pdf

Chapter 23 Controller Area Network (CAN).pdf

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.

Functional Description www.ti.com<br />

Node B<br />

Node A<br />

Table <strong>23</strong>-7. Parameters of the <strong>CAN</strong> Bit Time<br />

Parameter Range Remark<br />

Sync_Seg 1 t q (fixed) Synchronization of bus input to <strong>CAN</strong>_CLK<br />

Prop_Seg [1 … 8] t q Compensates for the physical delay times<br />

Phase_Seg1 [1 … 8] t q May be lengthened temporarily by synchronization<br />

Phase_Seg2 [1 … 8] t q May be shortened temporarily by synchronization<br />

Synchronization Jump Width<br />

(SJW)<br />

[1 … 4] t q<br />

Sync_Seg Prop_Seg Phase_Seg1 Phase_Seg2<br />

Delay A_to_B Delay B_to_A<br />

Delay A_to_B >= node output delay(A) + bus line delay(AÆB) + node input delay(B)<br />

Prop_Seg >= Delay A_to_B + Delay B_to_A<br />

May not be longer than either Phase Buffer Segment<br />

NOTE: For proper functionality of the <strong>CAN</strong> network, the physical delay times and the oscillator’s<br />

tolerance range have to be considered.<br />

<strong>23</strong>.3.16.1.1 Synchronization Segment<br />

The synchronization segment (Sync_Seg) is the part of the bit time where edges of the <strong>CAN</strong> bus level are<br />

expected to occur. If an edge occurs outside of Sync_Seg, its distance to the Sync_Seg is called the<br />

phase error of this edge.<br />

<strong>23</strong>.3.16.1.2 Propagation Time Segment<br />

This part of the bit time is used to compensate physical delay times within the <strong>CAN</strong> network. These delay<br />

times consist of the signal propagation time on the bus and the internal delay time of the <strong>CAN</strong> nodes.<br />

Any <strong>CAN</strong> node synchronized to the bit stream on the <strong>CAN</strong> bus can be out of phase with the transmitter of<br />

the bit stream, caused by the signal propagation time between the two nodes. The <strong>CAN</strong> protocol’s<br />

nondestructive bitwise arbitration and the dominant acknowledge bit provided by receivers of <strong>CAN</strong><br />

messages require that a <strong>CAN</strong> node transmitting a bit stream must also be able to receive dominant bits<br />

transmitted by other <strong>CAN</strong> nodes that are synchronized to that bit stream. The example in Figure <strong>23</strong>-14<br />

shows the phase shift and propagation times between two <strong>CAN</strong> nodes.<br />

Figure <strong>23</strong>-14. The Propagation Time Segment<br />

Prop_Seg >= 2 • [max(node output delay+bus line delay + node input delay)]<br />

4064 <strong>Controller</strong> <strong>Area</strong> <strong>Network</strong> (<strong>CAN</strong>) SPRUH73E–October 2011–Revised May 2012<br />

Submit Documentation Feedback<br />

Copyright © 2011–2012, Texas Instruments Incorporated

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

Saved successfully!

Ooh no, something went wrong!