2 fields for extended format frames, 3 fields for standard format frames, 2 message buffer memory map – Motorola ColdFire MCF5281 User Manual

Page 477: 2 fields for extended format frames -7, 3 fields for standard format frames -7, 2 message buffer memory map -7, As described in, Section 25.3.2, “message buffer memory map, Out of the lower 128 bytes, only part is

Advertising
background image

FlexCAN

Freescale Semiconductor

25-7

25.3.1.2

Fields for Extended Format Frames

Table 25-5

describes the message buffer fields used only for extended identifier format frames.

25.3.1.3

Fields for Standard Format Frames

Table 25-6

describes the message buffer fields used only for standard identifier format frames.

25.3.2

Message Buffer Memory Map

The message buffer memory map starts at an offset of 0x80 from the FlexCAN’s base address
(0x1C_0000). The 256-byte message buffer space is fully used by the 16 message buffer structures.

Table 25-5. Extended Format Frames

Field

Description

ID[28:18]/[17:15] Contains the 14 most significant bits of the extended identifier, located in the ID HIGH word of the

message buffer.

Substitute

Remote Request

(SRR)

Contains a fixed recessive bit, used only in extended format. Should be set to one by the user for
Tx buffers. It will be stored as received on the CAN bus for Rx buffers. This is a bit in the ID HIGH
word of the message buffer.

ID Extended

(IDE)

If extended format frame is used, this field should be set to one. If zero, standard format frame
should be used. This is a bit in the ID HIGH word of the message buffer.

ID[14:0]

Bits [14:0] of the extended identifier, located in the ID LOW word of the message buffer.

Remote

Transmission

Request (RTR)

This bit is located in the least significant bit of the ID LOW word of the message buffer;
0 Data Frame
1 Remote Frame.

Table 25-6. Standard Format Frames

Field

Description

ID[28:18]

Contains bits [28:18] of the identifier, located in the ID HIGH word of the message buffer. The four
least significant bits in this register (corresponding to the IDE bit and ID[17:15] for an extended
identifier message) must all be written as logic zeros to ensure proper operation of the FlexCAN.

RTR

Remote Transmission Request. This bit is located in the ID HIGH word of the message buffer.
0 data frame
1 remote frame.
If the FlexCAN transmits this bit as a one and receives it as a zero, an “arbitration loss” is
indicated. If the FlexCAN transmits this bit as a zero and receives it as a one, a bit error is
indicated.
If the FlexCAN transmits a value and receives a matching response, a successful bit transmission
is indicated.

16-Bit Time

Stamp

The 16-bit time stamp, located in the ID LOW word of the message buffer, is not needed for
standard format, and is used in a standard format buffer to store the 16-bit value of the
free-running timer. The timer value is captured at the beginning of the identifier field of the frame
on the CAN bus.

MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3

Advertising
This manual is related to the following products: