mc68hc08az60 Freescale Semiconductor, Inc, mc68hc08az60 Datasheet - Page 313

no-image

mc68hc08az60

Manufacturer Part Number
mc68hc08az60
Description
M68hc08 Family Of 8-bit Microcontroller Units Mcus
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc08az60 1J35D
Manufacturer:
FREESCALE
Quantity:
20 000
Transmit Structures
9-mscan
MOTOROLA
The MSCAN08 has a triple transmit buffer scheme 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
All three buffers have a 13-byte data structure similar to the outline of the
receive buffers (see
page 329). An additional transmit buffer priority register (TBPR) contains
an 8-bit “local priority” field (PRIO) (see
Registers
To transmit a message, the CPU08 has to identify an available transmit
buffer which is indicated by a set transmit buffer empty (TXE) flag in the
MSCAN08 transmitter flag register (CTFLG) (see
Transmitter Flag Register
The CPU08 then stores the identifier, the control bits and the data
content into one of the transmit buffers. Finally, the buffer has to be
flagged ready for transmission by clearing the TXE flag.
The MSCAN08 then will schedule the message for transmission and will
signal the successful transmission of the buffer by setting the TXE flag.
A transmit interrupt is generated
drive the application software to re-load the buffer.
In case more than one buffer is scheduled for transmission when the
CAN bus becomes available for arbitration, the MSCAN08 uses the local
priority setting of the three buffers for prioritzation. For this purpose,
every transmit buffer has an 8-bit local priority field (PRIO). The
application software sets this field when the message is set up. The local
priority reflects the priority of this particular message relative to the set
of messages being emitted from this node. The lowest binary value of
the PRIO field is defined as the highest priority.
1. The transmit interrupt will occur only if not masked. A polling scheme can be applied on TXE
also.
Freescale Semiconductor, Inc.
For More Information On This Product,
MSCAN Controller (MSCAN08)
on page 334).
Go to: www.freescale.com
Programmer’s Model of Message Storage
on page 346).
1
when TXE is set and can be used to
Transmit Buffer Priority
MSCAN Controller (MSCAN08)
MC68HC08AZ60 — Rev 1.0
MSCAN08
Message Storage
Figure
2.
on
313

Related parts for mc68hc08az60