English
Language : 

MC68HC08AZ60 Datasheet, PDF (309/452 Pages) Motorola, Inc – Advance Information
Freescale Semiconductor, Inc.
MSCAN Controller (MSCAN08)
Message Storage
Message Storage
MSCAN08 facilitates a sophisticated message storage system which
addresses the requirements of a broad range of network applications.
Background
Modern application layer software is built under two fundamental
assumptions:
1. Any CAN node is able to send out a stream of scheduled
messages without releasing the bus between two messages.
Such nodes will arbitrate for the bus right after sending the
previous message and will only release the bus in case of lost
arbitration.
2. The internal message queue within any CAN node is organized as
such that the highest priority message will be sent out first if more
than one message is ready to be sent.
Above behavior cannot be achieved with a single transmit buffer. That
buffer must be reloaded right after the previous message has been sent.
This loading process lasts a definite amount of time and has to be
completed within the inter-frame sequence (IFS) to be able to send an
uninterrupted stream of messages. Even if this is feasible for limited
CAN bus speeds, it requires that the CPU reacts with short latencies to
the transmit interrupt.
A double buffer scheme would de-couple the re-loading of the transmit
buffers from the actual message being sent and as such reduces the
reactiveness requirements on the CPU. Problems may arise if the
sending of a message would be finished just while the CPU re-loads the
second buffer. In that case, no buffer would then be ready for
transmission and the bus would be released.
At least three transmit buffers are required to meet the first of the above
requirements under all circumstances. The MSCAN08 has three
transmit buffers.
The second requirement calls for some sort of internal priorisation which
the MSCAN08 implements with the “local priority” concept described in
Receive Structures on page 310.
5-mscan
MOTOROLA
MC68HC08AZ60 — Rev 1.0
MSCAN Controller (MSCAN08)
309
For More Information On This Product,
Go to: www.freescale.com