English
Language : 

ST72561XX Datasheet, PDF (186/324 Pages) STMicroelectronics – Clock, reset and supply management
LINSCI serial communication interface (LIN master/slave)
ST72561-Auto
15.10 LIN mode register description
15.10.1
Status register (SCISR)
Read only
Reset value: 1100 0000 (C0h)
Note:
7
0
TDRE
TC
RDRF
IDLE
LHE
NF
FE
PE
Bits 7:4 = same function as in SCI mode, please refer to Section 15.8: SCI mode register
description.
Bit 3 = LHE LIN Header Error.
During LIN header this bit signals three error types:
● The LIN synch field is corrupted and the SCI is blocked in LIN synch state (LSF bit = 1).
● A timeout occurred during LIN Header reception
● An overrun error was detected on one of the header field (see OR bit description in
Section 15.8: SCI mode register description).
An interrupt is generated if RIE = 1 in the SCICR2 register. If blocked in the LIN synch state,
the LSF bit must first be reset (to exit LIN synch field state and then to be able to clear LHE
flag). Then it is cleared by the following software sequence: An access to the SCISR register
followed by a read to the SCIDR register.
0: no LIN header error
1: LIN header error detected
Apart from the LIN header this bit signals an overrun error as in SCI mode, (see description
in Section 15.8: SCI mode register description)
Bit 2 = NF Noise flag
In LIN master mode (LINE bit = 1 and LSLV bit = 0) this bit has the same function as in SCI
mode, please refer to Section 15.8: SCI mode register description
In LIN slave mode (LINE bit = 1 and LSLV bit = 1) this bit has no meaning.
Bit 1 = FE Framing error.
In LIN slave mode, this bit is set only when a real framing error is detected (if the stop bit is
dominant (0) and at least one of the other bits is recessive (1). It is not set when a break
occurs, the LHDF bit is used instead as a break flag (if the LHDM bit = 0). It is cleared by a
software sequence (an access to the SCISR register followed by a read to the SCIDR
register).
0: no Framing error
1: framing error detected
Bit 0 = PE Parity error.
This bit is set by hardware when a LIN parity error occurs (if the PCE bit is set) in receiver
mode. It is cleared by a software sequence (a read to the status register followed by an
access to the SCIDR data register). An interrupt is generated if PIE = 1 in the SCICR1
register.
0: no LIN parity error
1: LIN parity error detected
186/324
Doc ID 12370 Rev 8