MOTOROLA
Chapter 25. FlexCAN
25-19
Functional Overview
• If the FlexCAN is in debug mode when the STOP bit is set, the FlexCAN will
assume that debug mode should be exited. As a result, it will try to synchronize with
the CAN bus, and only then will it await the conditions required for entry into
low-power stop mode.
• Unlike other modules, the FlexCAN does not come out of reset in low-power stop
mode. The basic FlexCAN initialization procedure (see Section 25.4.10, “FlexCAN
Initialization Sequence”) should be executed before placing the module in
low-power stop mode.
• If the FlexCAN is in low-power stop mode with the self-wake mechanism engaged
and is operating with a single system clock per time quantum, there can be extreme
cases in which FlexCAN wake-up on recessive to dominant edge may not conform
to the CAN protocol. FlexCAN synchronization will be shifted one time quantum
from the wake-up event. This shift lasts until the next recessive to dominant edge,
which resynchronizes the FlexCAN to be in conformance with the CAN protocol.
The same holds true when the FlexCAN is in auto-power save mode and awakens
on a recessive to dominant edge.
25.4.11.3 Auto-Power Save Mode
Auto-power save mode enables normal operation with optimized power savings. Once the
auto-power save (APS) bit in CANMCR is set, the FlexCAN looks for a set of conditions
in which there is no need for its clocks to be running. If these conditions are met, the
FlexCAN stops its clocks, thus saving power. The following conditions will activate
auto-power save mode.
• No Rx/Tx frame in progress.
• No transfer of Rx/Tx frames to and from an SMB, and no Tx frame awaiting
transmission in any message buffer.
• No CPU access to the FlexCAN module.
• The FlexCAN is not in debug mode, low-power stop mode, or the bus off state.
While its clocks are stopped, if the FlexCAN senses that any one of the aforementioned
conditions is no longer true, it restarts its clocks. The FlexCAN then continues to monitor
these conditions and stops/restarts its clocks accordingly.
25.4.12 Interrupts
The module can generate up to 19 interrupt sources (16 interrupts due to message buffers
and 3 interrupts due to Bus-off, Error and Wake-up). Each one of the message buffers can
be an interrupt source, if its corresponding IMASK 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, and thus its
Summary of Contents for ColdFire MCF5281
Page 124: ...3 20 MCF5282 User s Manual MOTOROLA EMAC Instruction Set Summary ...
Page 141: ...MOTOROLA Chapter 5 Static RAM SRAM 5 5 SRAM Programming Model ...
Page 142: ...5 6 MCF5282 User s Manual MOTOROLA SRAM Programming Model ...
Page 168: ...6 26 MCF5282 User s Manual MOTOROLA Interrupts ...
Page 186: ...7 18 MCF5282 User s Manual MOTOROLA Functional Description ...
Page 228: ...9 22 MCF5282 User s Manual MOTOROLA Functional Description ...
Page 246: ...10 18 MCF5282 User s Manual MOTOROLA Low Power Wakeup Operation ...
Page 254: ...11 8 MCF5282 User s Manual MOTOROLA Memory Map and Registers ...
Page 264: ...12 10 MCF5282 User s Manual MOTOROLA Chip Select Registers ...
Page 280: ...13 16 MCF5282 User s Manual MOTOROLA Misaligned Operands ...
Page 314: ...14 34 MCF5282 User s Manual MOTOROLA MCF5282 External Signals ...
Page 339: ...MOTOROLA Chapter 15 Synchronous DRAM Controller Module 15 25 SDRAM Example ...
Page 340: ...15 26 MCF5282 User s Manual MOTOROLA SDRAM Example ...
Page 356: ...16 16 MCF5282 User s Manual MOTOROLA DMA Controller Module Functional Description ...
Page 408: ...17 52 MCF5282 User s Manual MOTOROLA Buffer Descriptors ...
Page 446: ...20 24 MCF5282 User s Manual MOTOROLA Interrupts ...
Page 474: ...22 18 MCF5282 User s Manual MOTOROLA Programming Model ...
Page 510: ...23 36 MCF5282 User s Manual MOTOROLA Operation ...
Page 526: ...24 16 MCF5282 User s Manual MOTOROLA I2C Programming Examples ...
Page 672: ...28 12 MCF5282 User s Manual MOTOROLA Functional Description ...
Page 718: ...29 46 MCF5282 User s Manual MOTOROLA Motorola Recommended BDM Pinout ...
Page 750: ...32 8 MCF5282 User s Manual MOTOROLA Ordering Information ...