MC68HC12 MOTOROLA [Motorola, Inc], MC68HC12 Datasheet - Page 329

no-image

MC68HC12

Manufacturer Part Number
MC68HC12
Description
The MC68HC912DT128A microcontroller unit (MCU) is a 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
MC68HC912DT128A — Rev 4.0
MOTOROLA
NOTE:
status of the foreground receive buffer. When the buffer contains a
correctly received message with matching identifier this flag is set.
After the msCAN12 successfully received a message into the
background buffer and if the message passes the filter, it copies the
content of RxBG into RxFG
interrupt to the CPU
after the IFS field of the CAN frame) will be received into RxBG. The
over-writing of the background buffer is independent of the identifier filter
function.
The user’s receive handler has to read the received message from
RxFG and to reset the RXF flag in order to acknowledge the interrupt
and to release the foreground buffer.
An overrun condition occurs when both the foreground and the
background receive message buffers are filled with correctly received
messages with accepted identifiers and a further correctly received
message with accepted identifier is received from the bus. The latter
message will be discarded and an error interrupt with overrun indication
will occur if enabled. As long as both buffers remain filled, the msCAN12
is able to transmit messages but it will discard all incoming messages.
The msCAN12 will receive its own messages into the background
receive buffer RxBG but will not overwrite RxFG and will not emit a
receive interrupt nor will it acknowledge (ACK) its own messages on the
CAN bus. The exception to this rule is that when in loop-back mode
msCAN12 will treat its own messages exactly like all other incoming
messages.
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.
MSCAN Controller
(2)
. A new message (which may follow immediately
(1)
, sets the RXF flag, and emits a receive
MSCAN Controller
Message Storage
Technical Data
329

Related parts for MC68HC12