FlexCAN
The message buffer architecture is shown in
architecture when individual masks are used, while
Serial Buffers
Tx Shifter
Tx
Rx Shifter
Rx
Transparent to User
Figure 23-2. FlexCAN Message Buffer Architecture (CANMCR[BCC] = 0)
Serial Buffers
Tx Shifter
Tx
Rx Shifter
Rx
Transparent to User
Figure 23-3. FlexCAN Message Buffer Architecture (CANMCR[BCC] = 1)
23.1.1.1
The CAN System
A typical CAN system is shown below in
CAN bus through a transceiver. The transceiver provides the transmit drive, waveshaping, and
receive/compare functions required for communicating on the CAN bus. It can also provide protection
against damage to the FlexCAN caused by a defective CAN bus or defective stations.
23-2
Figure 23-2
Control
•
•
•
Global Mask
Mask 14
Mask 15
Control
Mask 15
Figure
MCF52277 Reference Manual, Rev. 1
and
Figure
23-3.
Figure 23-2
shows the legacy configuration.
Interrupt Request
Data
•
•
•
•
Buffer 13
Buffer 14
Buffer 15
Data
Data Length
Time Stamp
ID
Interrupt Request
Data
Mask 0
•
•
•
•
•
•
•
Buffer 13
Mask 13
Mask 14
Buffer 14
Buffer 15
Data
Data Length
Time Stamp
ID
23-4. Each CAN station is connected physically to the
Figure 23-3
shows the MB
Buffer 0
Data
•
•
•
•
•
•
•
Buffer 0
Data
•
•
•
•
•
•
•
Freescale Semiconductor