![](http://datasheet.mmic.net.cn/Freescale-Semiconductor/MC68F375MZP33R2_datasheet_98733/MC68F375MZP33R2_311.png)
MC68F375
CAN 2.0B CONTROLLER MODULE
MOTOROLA
REFERENCE MANUAL
Rev. 25 June 03
7-5
Table 7-1 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
RX Length
Length (in bytes) of the RX data stored in offset 0x6 through 0xD of the buffer.This field is written by
the TouCAN module, copied from the DLC (data length code) field of the received frame.
TX Length
Length (in bytes) of the data to be transmitted, located in offset $6 through 0xD of the buffer. This
field is written by the CPU and is used as the DLC field value. If RTR (remote transmission request)
= 1, the frame is a remote frame and will be transmitted without 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 re-
ceived from the bus. For TX frames, the CPU provides the data to be transmitted within the frame.
Reserved
The CPU controls access to this word entry field (16 bits).
Table 7-2 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.
0XY11
NOTES:
1. For TX 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
(XY was 10).
0110
A full/overrun buffer was
filled (Y was 1).
Table 7-3 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 be-
comes an RX message buffer for data frames.
0100
0
10101
NOTES:
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, always.
1010
0
1110
Data frame to be transmitted only once, unconditionally, and
then only as a response to remote frame, always.
1010
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.