25-6
MCF5282 User’s Manual
MOTOROLA
Message Buffers
Table 25-2. Common Extended/Standard Format Frames
Field
Description
Time Stamp Contains a copy of the high byte of the free running timer, which is captured at the beginning of the
identifier field of the frame on the CAN bus.
Code
Refer to Table 25-3 and Table 25-4.
Rx Length
Length (in bytes) of the Rx data stored in offset 0x6 through 0xD of the buffer. This field is written by
the FlexCAN module, copied from the data length code (DLC) field of the received frame.
Tx Length
Length (in bytes) of the data to be transmitted, located in offset 0x6 through 0xD of the buffer. This
field is written by the CPU, and is used as the DLC field value. If remote transmission request (RTR))
= 1, the frame is a remote frame and will be transmitted without the data field, regardless of the value
in Tx length.
Data
This field can store up to eight data bytes for a frame. For Rx frames, the data is stored as it is
received from the bus. For Tx frames, the CPU provides the data to be transmitted within the frame.
Reserved
This word entry field (16 bits) should not be accessed by the CPU.
Table 25-3. Message Buffer Codes for Receive Buffers
Rx Code
Before Rx
New Frame
Description
Rx Code
After Rx
New Frame
Comment
0000
NOT ACTIVE — message buffer is not active.
—
—
0100
EMPTY — message buffer is active and empty.
0010
—
0010
FULL — message buffer is full.
0110
If a CPU read occurs before
the new frame, new receive
code is 0010.
0110
OVERRUN — second frame was received into a full
buffer before the CPU read the first one.
0101
1
1
For transmit message buffers, upon read, the BUSY bit should be ignored.
BUSY — message buffer is now being filled with a new
receive frame. This condition will be cleared within 20
cycles.
0010
An empty buffer was filled.
0011
1
0110
A full buffer was filled.
0111
1
0110
An overrun buffer was filled.
Table 25-4. Message Buffer Codes for Transmit Buffers
RTR
Initial Tx Code
Description
Code After
Successful
Transmission
X
1000
Message buffer not ready for transmit.
—
0
1100
Data frame to be transmitted once, unconditionally.
1000
1
1100
Remote frame to be transmitted once, and message buffer
becomes an Rx message buffer for data frames.
0100
0
1010
1
1
When a matching remote request frame is detected, the code for such a message buffer is changed to be 1110.
Data frame to be transmitted only as a response to a remote
frame.
1010
0
1110
Data frame to be transmitted only once, unconditionally, and
then only as a response to remote frame.
1010
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 ...