
MPC5566 Microcontroller Reference Manual, Rev. 2
22-32
Freescale Semiconductor
22.4.5.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, FlexCAN2 needs to scan the whole message buffer memory during the available
time slot. 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 22-15. Arbitration, Match and Move Time Windows
22.4.6
Modes of Operation Details
22.4.6.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, FlexCAN2 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
After requesting freeze mode, the user must wait for the FRZACK bit to be asserted in CAN
x
_MCR before
executing any other action, otherwise FlexCAN2 can operate in an unpredictable way. In freeze mode, all
memory mapped registers are accessible; CANx_RXIMR
n
registers can be programmed only if the
MBFEN bit is asserted.
Exit freeze mode using one of the following methods:
•
CPU negates the FRZ bit in the CAN
x
_MCR
•
The MCU exits debug mode and/or the HALT bit negates.
CRC (15)
EOF (7)
Interim
Start move
Matching and arbitration window (24 bits)
Move
(bit 6)
window
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...