MC68HC912D60 Motorola, MC68HC912D60 Datasheet - Page 309

no-image

MC68HC912D60

Manufacturer Part Number
MC68HC912D60
Description
Microcontrollers
Manufacturer
Motorola
Datasheet
17.4.3 Transmit Structures
MC68HC912D60A — Rev 3.0
MOTOROLA
An overrun condition occurs when both the foreground and the
background receive message buffers are filled with correctly received
messages with accepted identifiers and another message is correctly
received from the bus with an accepted identifier. The latter message is
discarded and an error interrupt with overrun indication is generated if
enabled. The msCAN12 is still able to transmit messages with both
receive message buffers filled, but all incoming messages are
discarded.
The msCAN12 has a triple transmit buffer scheme in order to allow
multiple messages to be set up in advance and to achieve an optimized
real-time performance. The three buffers are arranged as shown in
Figure
All three buffers have a 13 byte data structure similar to the outline of the
receive buffers (see
additional transmit buffer priority register (TBPR) contains an 8-bit so
called local priority field (PRIO) (see
(TBPR)).
In order to transmit a message, the CPU12 has to identify an available
transmit buffer which is indicated by a set transmit buffer empty (TXE)
flag in the msCAN12 transmitter flag register (CTFLG) (see
Transmitter Flag Register
The CPU12 then stores the identifier, the control bits and the data
content into one of the transmit buffers. Finally, the buffer has to be
flagged as being ready for transmission by clearing the TXE flag.
The msCAN12 will then schedule the message for transmission and will
signal the successful transmission of the buffer by setting the TXE flag.
A transmit interrupt will be emitted
used to drive the application software to re-load the buffer.
1. The transmit interrupt is generated only if not masked. A polling scheme can be applied on
TXE also.
Freescale Semiconductor, Inc.
For More Information On This Product,
17-2.
Go to: www.freescale.com
MSCAN Controller
Programmer’s Model of Message
(CTFLG)).
(1)
Transmit Buffer Priority Registers
when TXE is set and this can be
Storage). An
MSCAN Controller
Message Storage
Technical Data
msCAN12
309

Related parts for MC68HC912D60