
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
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...