Controller Area Network (FlexCAN)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
Freescale Semiconductor
25-39
Preliminary
25.4.7.5
Arbitration and Matching Timing
During normal transmission or reception of frames, the arbitration, match, move in and move out processes
are executed during certain time windows inside the CAN frame, as shown in
. When doing
matching and arbitration, FlexCAN needs to scan the whole message buffer memory during the available
time slot. In order to have sufficient time to do that, the following restrictions must be observed:
•
A valid CAN bit timing must be programmed, as indicated in
.
•
The system clock frequency cannot be smaller than the oscillator clock frequency, i.e. the PLL
cannot be programmed to divide down the oscillator clock.
•
There must be a minimum ratio of 16 between the system clock frequency and the CAN bit rate.
Figure 25-17. Arbitration, Match and Move Time Windows
25.4.8
Modes of Operation Details
25.4.8.1
Freeze Mode
This mode is entered by asserting the HALT bit in the CAN
x
_MCR or when the MCU is put into debug
mode. In both cases it is also necessary that the FRZ bit is asserted in the CAN
x
_MCR. When freeze mode
is requested during transmission or reception, FlexCAN does the following:
•
Waits to be in either intermission, passive error, bus off or idle state
•
Waits for all internal activities like move in or move out to finish
•
Ignores the Rx input pin and drives the Tx pin as recessive
•
Stops the prescaler, thus halting all CAN protocol activities
•
Grants write access to the CAN
x
_ECR, which is read-only in other modes
•
Sets the NOTRDY and FRZACK bits in CAN
x
_MCR
8 .. 15
7
1 .. 4
9 .. 16
8
1 .. 4
Table 25-18. CAN Standard Compliant Bit Time Segment Settings (continued)
Time Segment 1
Time Segment 2
Resynchronization
Jump Width
CRC (15)
EOF (7)
Intermi
1
Start Move
Matching/Arbitration Window (24 bits)
Move
(bit 6)
Window
1
Intermi = Intermission