
FlexCAN Module
MPC5644A Microcontroller Reference Manual, Rev. 6
1430
Freescale Semiconductor
32.5.8
CAN protocol related features
32.5.8.1
Remote frames
Remote frame is a special kind of frame. The user can program a message buffer to be a Request Remote
Frame by writing the message buffer as Transmit with the RTR bit set to ‘1’. After the Remote Request
frame is transmitted successfully, the message buffer becomes a Receive Message Buffer, with the same
ID as before.
When a Remote Request frame is received by FlexCAN, its ID is compared to the IDs of the transmit
message buffers with the Code field ‘1010’. If there is a matching ID, then this message buffer frame will
be transmitted. Note that if the matching message buffer has the RTR bit set, then FlexCAN will transmit
a Remote Frame as a response.
A received Remote Request Frame is not stored in a receive buffer. It is only used to trigger a transmission
of a frame in response. The mask registers are not used in remote frame matching, and all ID bits (except
RTR) of the incoming received frame should match.
In the case that a Remote Request Frame was received and matched a message buffer, this message buffer
immediately enters the internal arbitration process, but is considered as normal Tx message buffer, with
no higher priority. The data length of this frame is independent of the DLC field in the remote frame that
initiated its transmission.
If the Rx FIFO is enabled (bit FEN set in MCR), FlexCAN will not generate an automatic response for
Remote Request Frames that match the FIFO filtering criteria. If the remote frame matches one of the
target IDs, it will be stored in the FIFO and presented to the CPU. Note that for filtering formats A and B,
it is possible to select whether remote frames are accepted or not. For format C, remote frames are always
accepted (if they match the ID).
32.5.8.2
Overload frames
FlexCAN does transmit overload frames due to detection of following conditions on CAN bus:
•
Detection of a dominant bit in the first/second bit of Intermission
Case 3
FEN = 1
BCC = 0
2nd alternative:
Do not configure any MB as Rx (i.e., let all MBs as either Tx or
inactive).
In this case, RXGMASK, RX14MASK, and RX15MASK can be
used to affect ID Tables without affecting the filtering process
for Rx MBs.
Case 4
Don’t care
BCC = 1
If MCR[BCC] = 1, then the RXIMRs are enabled. Thus,
RXGMASK, RX14MASK, and RX15MASK are not used.
Particularly, when MCR[FEN] = 0, RxFIFO is disabled;
RXGMASK, RX14MASK, and RX15MASK do not affect
filtering. Individual masks are used.
Table 32-18. Recommended FEN and BCC settings
Case
MCR[FEN]
RxFIFO
MCR[BCC]
Rx Individual Mask
Notes
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...