www.ti.com
Rx-input
"normal"
edge
Rx-input
In the first example, an edge from recessive to dominant occurs at the end of Prop_Seg. The edge is
"late" since it occurs after the Sync_Seg. Reacting to the "late" edge, Phase_Seg1 is lengthened so that
the distance from the edge to the sample point is the same as it would have been from the Sync_Seg to
the sample point if no edge had occurred. The phase error of this "late" edge is less than SJW, so it is
fully compensated and the edge from dominant to recessive at the end of the bit, which is one nominal bit
time long, occurs in the Sync_Seg.
In the second example, an edge from recessive to dominant occurs during Phase_Seg2. The edge is
"early" since it occurs before a Sync_Seg. Reacting to the "early" edge, Phase_Seg2 is shortened and
Sync_Seg is omitted, so that the distance from the edge to the sample point is the same as it would have
been from a Sync_Seg to the sample point if no edge had occurred. As in the previous example, the
magnitude of this "early" edge's phase error is less than SJW, so it is fully compensated.
The phase buffer segments are lengthened or shortened temporarily only; at the next bit time, the
segments return to their nominal programmed values.
In these examples, the bit timing is seen from the point of view of the CAN implementation's state
machine, where the bit time starts and ends at the sample points. The state machine omits Sync_Seg
when synchronizing on an "early" edge because it cannot subsequently redefine that time quantum of
Phase_Seg2 where the edge occurs to be the Sync_Seg.
The examples in
Figure 24-13
both examples, the spike starts at the end of Prop_Seg and has the length of (Prop_Seg + Phase_Seg1).
In the first example, the synchronization jump width is greater than or equal to the phase error of the
spike's edge from recessive to dominant. Therefore the sample point is shifted after the end of the spike; a
recessive bus level is sampled.
In the second example, SJW is shorter than the phase error, so the sample point cannot be shifted far
enough; the dominant spike is sampled as actual bus level.
SPRUI33 – November 4 2015 – Revised January 2017
Submit Documentation Feedback
Figure 24-12. Synchronization on Late and Early Edges
"late" edge
Sample-point
Sample-point
Sample-point
Sync_Seg
Prop_Seg
show how short dominant noise spikes are filtered by synchronizations. In
Copyright © 2015–2017, Texas Instruments Incorporated
Sample-point
Sample-point
"early" edge
Phase_Seg1
CAN Bit Timing
Recessive
dominant
Sample-point
Recessive
dominant
Phase_Seg2
Controller Area Network (CAN)
2011
Need help?
Do you have a question about the TMS320F28004x and is the answer not in the manual?