mc68hc08az60 Freescale Semiconductor, Inc, mc68hc08az60 Datasheet - Page 310

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
MSCAN Controller (MSCAN08)
Receive Structures
MC68HC08AZ60 — Rev 1.0
310
The received messages are stored in a 2-stage input first in first out
(FIFO). The two message buffers are mapped using a Ping Pong
arrangement into a single memory area (see
background receive buffer (RxBG) is exclusively associated to the
MSCAN08, the foreground receive buffer (RxFG) is addressable by the
CPU08. This scheme simplifies the handler software, because only one
address area is applicable for the receive process.
Both buffers have a size of 13 bytes to store the CAN control bits, the
identifier (standard or extended), and the data content (for details, see
Programmer’s Model of Message Storage
The receiver full flag (RXF) in the MSCAN08 receiver flag register
(CRFLG) (see
342), signals the status of the foreground receive buffer. When the buffer
contains a correctly received message with matching identifier, this flag
is set.
On reception, each message is checked to see if it passes the filter (for
details see
written into RxBG. The MSCAN08 copies the content of RxBG into
RxFG
CPU
from RxFG and to reset the RXF flag to acknowledge the interrupt and
to release the foreground buffer. A new message which can follow
immediately after the IFS field of the CAN frame, is received into RxBG.
The overwriting of the background buffer is independent of the identifier
filter function.
When the MSCAN08 module is transmitting, the MSCAN08 receives its
own messages into the background receive buffer, RxBG. It does NOT
overwrite RxFG, generate a receive interrupt or acknowledge its own
messages on the CAN bus. The exception to this rule is in loop-back
mode (see
the MSCAN08 treats its own messages exactly like all other incoming
messages. The MSCAN08 receives its own transmitted messages in the
1. Only if the RXF flag is not set.
2. The receive interrupt will occur only if not masked. A polling scheme can be applied on RXF
also.
Freescale Semiconductor, Inc.
2
For More Information On This Product,
. The user’s receive handler has to read the received message
1
, sets the RXF flag, and generates a receive interrupt to the
MSCAN Controller (MSCAN08)
MSCAN08 Module Control Register 1
Identifier Acceptance Filter
Go to: www.freescale.com
MSCAN08 Receiver Flag Register (CRFLG)
on page 314) and in parallel is
Figure
on page 329).
on page 338), where
2). While the
MOTOROLA
on page
6-mscan

Related parts for mc68hc08az60