
Controller Area Network (FlexCAN)
PXN20 Microcontroller Reference Manual, Rev. 1
29-8
Freescale Semiconductor
IDE
ID Extended Bit. This bit identifies whether the frame format is standard or extended.
0 Frame format is standard.
1 Frame format is extended.
RTR
Remote Transmission Request. This bit is used for requesting transmissions of a data frame. If FlexCAN
transmits this bit as 1 (recessive) and receives it as 0 (dominant), it is interpreted as arbitration loss. If this bit
is transmitted as 0 (dominant), then if it is received as 1 (recessive), the FlexCAN module treats it as bit error.
If the value received matches the value transmitted, it is considered as a successful bit transmission.
0 Indicates the current MB has a data frame to be transmitted.
1 Indicates the current MB has a remote frame to be transmitted.
LENGTH
Length of Data in Bytes. This 4-bit field is the length (in bytes) of the Rx or Tx data, which is located in offset
0x8 through 0xF of the MB space (see
). In reception, this field is written by the FlexCAN module,
copied from the DLC (data length code) field of the received frame. In transmission, this field is written by the
CPU and corresponds to the DLC field value of the frame to be transmitted. When RTR = 1, the Frame to be
transmitted is a remote frame and does not include the data field, regardless of the LENGTH field.
TIME STAMP
Free-Running Counter Time Stamp. This 16-bit field is a copy of the free-running timer, captured for Tx and
Rx frames at the time when the beginning of the Identifier field appears on the CAN bus.
PRIO
Local Priority. This 3-bit field is only used when LPRIO_EN bit is set in CANx_MCR and it only makes sense
for Tx buffers. These bits are not transmitted. They are appended to the regular ID to define the transmission
priority. See
Section 29.4.2, Arbitration Process.
ID
Frame Identifier. In standard frame format, only the 11 most significant bits (3 to 13) are used for frame
identification in both receive and transmit cases. The 18 least significant bits are ignored. In extended frame
format, all bits are used for frame identification in both receive and transmit cases.
DATA
Data Field. A many as 8 bytes can be used for a data frame. For Rx frames, the data is stored as it is received
from the CAN bus. For Tx frames, the CPU prepares the data field to be transmitted within the frame.
Table 29-4. Message Buffer Code for Rx Buffers
Rx Code before
Rx New Frame
Description
Rx Code after
Rx New Frame
Comment
0000
NOT ACTIVE: MB is not active.
—
MB does not participate in the matching process.
0100
EMPTY: MB is active and empty.
0010
MB participates in the matching process. When a
frame is received successfully, the code is
automatically updated to FULL.
0010
FULL: MB is full.
0010
The act of reading the C/S word followed by unlocking
the MB does not make the code return to EMPTY. It
remains FULL. If a new frame is written to the MB
after the C/S word was read and the MB was
unlocked, the code still remains FULL.
0110
If the MB is FULL and a new frame is overwritten to
this MB before the CPU had time to read it, the code
is automatically updated to OVERRUN. Refer to
Section 29.4.4, Matching Process,
for details about
overrun behavior.
Table 29-3. Message Buffer Field Descriptions (continued)
Name
Description
Содержание PXN2020
Страница 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Страница 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Страница 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Страница 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Страница 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Страница 162: ...Clocks Reset and Power CRP PXN20 Microcontroller Reference Manual Rev 1 6 30 Freescale Semiconductor...
Страница 182: ...Frequency Modulated Phase Locked Loop FMPLL PXN20 Microcontroller Reference Manual Rev 1 7 20 Freescale Semiconductor...
Страница 268: ...Boot Assist Module BAM PXN20 Microcontroller Reference Manual Rev 1 9 14 Freescale Semiconductor...
Страница 318: ...Interrupts and Interrupt Controller INTC PXN20 Microcontroller Reference Manual Rev 1 10 50 Freescale Semiconductor...
Страница 326: ...General Purpose Static RAM SRAM PXN20 Microcontroller Reference Manual Rev 1 11 8 Freescale Semiconductor...
Страница 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Страница 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Страница 460: ...Memory Protection Unit MPU PXN20 Microcontroller Reference Manual Rev 1 18 20 Freescale Semiconductor...
Страница 478: ...Error Correction Status Module ECSM PXN20 Microcontroller Reference Manual Rev 1 19 18 Freescale Semiconductor...
Страница 488: ...Software Watchdog Timer SWT PXN20 Microcontroller Reference Manual Rev 1 20 10 Freescale Semiconductor...
Страница 494: ...System Timer Module STM PXN20 Microcontroller Reference Manual Rev 1 21 6 Freescale Semiconductor...
Страница 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Страница 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Страница 926: ...Controller Area Network FlexCAN PXN20 Microcontroller Reference Manual Rev 1 29 42 Freescale Semiconductor...
Страница 990: ...Deserial Serial Peripheral Interface DSPI PXN20 Microcontroller Reference Manual Rev 1 30 64 Freescale Semiconductor...
Страница 1044: ...Enhanced Serial Communication Interface eSCI PXN20 Microcontroller Reference Manual Rev 1 31 54 Freescale Semiconductor...
Страница 1080: ...Cross Triggering Unit CTU PXN20 Microcontroller Reference Manual Rev 1 33 12 Freescale Semiconductor...
Страница 1134: ...Analog to Digital Converter ADC PXN20 Microcontroller Reference Manual Rev 1 34 54 Freescale Semiconductor...
Страница 1150: ...IEEE 1149 1 Test Access Port Controller JTAGC PXN20 Microcontroller Reference Manual Rev 1 35 16 Freescale Semiconductor...
Страница 1257: ...Nexus Development Interface NDI PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 36 107...
Страница 1258: ...Nexus Development Interface NDI PXN20 Microcontroller Reference Manual Rev 1 36 108 Freescale Semiconductor...
Страница 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...