LFDAS12XSIT Freescale Semiconductor, LFDAS12XSIT Datasheet - Page 347

no-image

LFDAS12XSIT

Manufacturer Part Number
LFDAS12XSIT
Description
HARDWARE MC9S12XS 112-PIN
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of LFDAS12XSIT

Module/board Type
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
-
11.4.7.3
A message is successfully received and shifted into the foreground buffer (RxFG) of the receiver FIFO.
This interrupt is generated immediately after receiving the EOF symbol. The RXF flag is set. If there are
multiple messages in the receiver FIFO, the RXF flag is set as soon as the next message is shifted to the
foreground buffer.
11.4.7.4
A wake-up interrupt is generated if activity on the CAN bus occurs during MSCAN sleep or power-down
mode.
11.4.7.5
An error interrupt is generated if an overrun of the receiver FIFO, error, warning, or bus-off condition
occurrs. MSCAN Receiver Flag Register (CANRFLG) indicates one of the following conditions:
11.4.7.6
Interrupts are directly associated with one or more status flags in either the MSCAN Receiver Flag Register
(CANRFLG) or the MSCAN Transmitter Flag Register (CANTFLG). Interrupts are pending as long as
one of the corresponding flags is set. The flags in CANRFLG and CANTFLG must be reset within the
interrupt handler to handshake the interrupt. The flags are reset by writing a 1 to the corresponding bit
position. A flag cannot be cleared if the respective condition prevails.
Freescale Semiconductor
Overrun — An overrun condition of the receiver FIFO as described in
Structures,” occurred.
CAN Status Change — The actual value of the transmit and receive error counters control the
CAN bus state of the MSCAN. As soon as the error counters skip into a critical range (Tx/Rx-
warning, Tx/Rx-error, bus-off) the MSCAN flags an error condition. The status change, which
caused the error condition, is indicated by the TSTAT and RSTAT flags (see
“MSCAN Receiver Flag Register
Interrupt Enable Register
Receive Interrupt
Wake-Up Interrupt
Error Interrupt
Interrupt Acknowledge
This interrupt can only occur if the MSCAN was in sleep mode (SLPRQ = 1
and SLPAK = 1) before entering power down mode, the wake-up option is
enabled (WUPE = 1), and the wake-up interrupt is enabled (WUPIE = 1).
It must be guaranteed that the CPU clears only the bit causing the current
interrupt. For this reason, bit manipulation instructions (BSET) must not be
used to clear interrupt flags. These instructions may cause accidental
clearing of interrupt flags which are set after entering the current interrupt
service routine.
(CANRIER)”).
S12XS Family Reference Manual Rev. 1.11
(CANRFLG)” and
NOTE
NOTE
Freescale’s Scalable Controller Area Network (S12MSCANV3)
Section 11.3.2.6, “MSCAN Receiver
Section 11.4.2.3, “Receive
Section 11.3.2.5,
347

Related parts for LFDAS12XSIT