
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
22-33
After exiting freeze mode, FlexCAN2 tries to re-synchronize to the CAN bus by waiting for 11 consecutive
recessive bits.
22.4.6.2
Module Disabled Mode
This low power mode is entered when the CAN
x
_MCR[MDIS] bit is asserted. If the module is disabled
during freeze mode, it shuts down the clocks to the CPI and MBM sub-modules, sets the
CAN
x
_MCR[MDISACK] bit and negates the CAN
x
_MCR[FRZACK] bit.
If the module is disabled during transmission or reception, FlexCAN2 completes the following sequence:
1. Waits to enter the idle or bus off state, or waits for the third bit of the intermission and checks to
determine if the bit is recessive.
2. Waits for all internal activities, like move-in or move-out, to finish.
3. Ignores the RX input pin and drives the TX pin as recessive.
4. Shuts down the clocks to the CPI and MBM sub-modules.
5. Sets the NOTRDY and MDISACK bits in CAN
x
_MCR.
The bus interface unit continues to operate by enabling the CPU to access memory mapped registers except
the free running timer, CAN
x
_ECR, and the message buffers, which cannot be accessed when the module
is disabled. To exit this mode, negate the CAN
x
_MCR[MDIS] bit, which resumes the clocks and negates
the CAN
x
_MCR[MDISACK] bit.
22.4.7
Interrupts
The module can generate interrupts from 20 interrupt sources (16 interrupts due to message buffers, one
interrupt due to an error condition, two interrupts for the OR'd MB16–MB31 and MB32–63, and one
interrupt for one of the following: a bus off condition, a transmit warning, or a receive warning).
Each of the 64 message buffers can be an interrupt source, if its corresponding CAN
x
_IMRH or
CAN
x
_IMRL bit is set. There is no distinction between TX and RX interrupts for a particular buffer, under
the assumption that the buffer is initialized for either transmission or reception. Each of the buffers has
assigned a flag bit in the CAN
x
_IFRH or CAN
x
_IFRL registers. The bit is set when the corresponding
buffer completes a successful transmission/reception and is cleared when the CPU writes it to 1.
A combined interrupt for each of two MB groups, MB16–MB31 and MB32–MB63, is also generated by
an OR of all the interrupt sources from the associated MBs. This interrupt gets generated when any of the
MBs generates an interrupt. In this case the CPU must read the CAN
x
_IFRH and CAN
x
_IFRL registers
to determine which MB caused the interrupt.
The other two interrupt sources (bus off/transmit warning/receive warning and error) generate interrupts
like the MB interrupt sources, and can be read from CAN
x
_ESR. The bus off/transmit warning/receive
warning and error interrupt mask bits are located in the CAN
x
_CR.
Содержание 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...