Datasheet

SCIx_S1 field descriptions (continued)
Field Description
within any bit time in the frame, the flag NF is set at the same time as RDRF is set for the character. To
clear NF, read SCI_S1 and then read the SCI data register (SCI_D).
0 No noise detected.
1 Noise detected in the received character in SCI_D.
1
FE
Framing Error Flag
FE is set at the same time as RDRF when the receiver detects a logic 0 where the stop bits was expected.
This suggests the receiver was not properly aligned to a character frame. To clear FE, read SCI_S1 with
FE set and then read the SCI data register (SCI_D).
0 No framing error detected. This does not guarantee the framing is correct.
1 Framing error.
0
PF
Parity Error Flag
PF is set at the same time as RDRF when parity is enabled (PE = 1) and the parity bit in the received
character does not agree with the expected parity value. To clear PF, read SCI_S1 and then read the SCI
data register (SCI_D).
0 No parity error.
1 Parity error.
15.2.6 SCI Status Register 2 (SCIx_S2)
This register contains one read-only status flag.
When using an internal oscillator in a LIN system, it is necessary to raise the break
detection threshold one bit time. Under the worst case timing conditions allowed in LIN,
it is possible that a 0x00 data character can appear to be 10.26 bit times long at a slave
running 14% faster than the master. This would trigger normal break detection circuitry
designed to detect a 10-bit break symbol. When the LBKDE bit is set, framing errors are
inhibited and the break detection threshold changes from 10 bits to 11 bits, preventing
false detection of a 0x00 data character as a LIN break symbol.
Address: Base address + 5h offset
Bit 7 6 5 4 3 2 1 0
Read
LBKDIF RXEDGIF
0
RXINV RWUID BRK13 LBKDE
RAF
Write
Reset
0 0 0 0 0 0 0 0
SCIx_S2 field descriptions
Field Description
7
LBKDIF
LIN Break Detect Interrupt Flag
LBKDIF is set when the LIN break detect circuitry is enabled and a LIN break character is detected.
LBKDIF is cleared by writing a 1 to it.
Table continues on the next page...
Register definition
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
412 Freescale Semiconductor, Inc.