English
Language : 

SAM7X256_14 Datasheet, PDF (490/662 Pages) ATMEL Corporation – ARM-based Flash MCU
Tphs1 + Tphs2 = 12 Tcsc
Because this number is even, we choose Tphs2 = Tphs1 (else we would choose Tphs2
= Tphs1 + Tcsc)
Tphs1 = Tphs2 = (12/2) Tcsc = 6 Tcsc
=> PHASE1 = PHASE2 = Tphs1/Tcsc - 1 = 5
The resynchronization jump width must be comprised between 1 Tcsc and the
minimum of 4 Tcsc and Tphs1. We choose its maximum value:
Tsjw = Min(4 Tcsc,Tphs1) = 4 Tcsc
=> SJW = Tsjw/Tcsc - 1 = 3
Finally: CAN_BR = 0x00053255
36.6.4.2 CAN Bus Synchronization
Two types of synchronization are distinguished: “hard synchronization” at the start of a frame and “resynchronization”
inside a frame. After a hard synchronization, the bit time is restarted with the end of the SYNC_SEG segment, regardless
of the phase error. Resynchronization causes a reduction or increase in the bit time so that the position of the sample
point is shifted with respect to the detected edge.
The effect of resynchronization is the same as that of hard synchronization when the magnitude of the phase error of the
edge causing the resynchronization is less than or equal to the programmed value of the resynchronization jump width
(tSJW).
When the magnitude of the phase error is larger than the resynchronization jump width and
 the phase error is positive, then PHASE_SEG1 is lengthened by an amount equal to the resynchronization jump
width.
 the phase error is negative, then PHASE_SEG2 is shortened by an amount equal to the resynchronization jump
width.
SAM7X Series [DATASHEET]
6120K–ATARM–11-Feb-14
490