st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 162

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
On-chip peripherals
162/371
Figure 66. LIN header
The bits involved are the two MSB positions (7th and 8th bits if M = 0; 8th and 9th bits if
M = 0) of the identifier character. The check is performed as specified in
LIN specification.
Figure 67. LIN identifier
LIN error detection
LIN header error flag
The LIN header error flag indicates that an invalid LIN header has been detected.
When a LIN header error occurs:
If autosynchronization is enabled (LASE bit = 1), this can mean that the LIN synch field is
corrupted, and that the SCI is in a blocked state (LSF bit is set). The only way to recover is to
reset the LSF bit and then to clear the LHE bit.
LHE/OVR error conditions
When auto resynchronization is disabled (LASE bit = 0), the LHE flag detects the following:
Furthermore, if LHDM is set it also detects that a LIN header reception timeout occurred
(only if LHDM is set).
The LHE flag is set.
An interrupt is generated if the RIE bit is set and the I[1:0] bits are cleared in the CCR
register.
The LHE bit is reset by an access to the SCISR register followed by a read of the
SCIDR register.
The received LIN synch field is not equal to 55h.
An overrun has occurred (as in standard SCI mode).
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
Start bit
LIN synch
break
ID0
P0
P1
ID1 ID2 ID3 ID4 ID5 P0 P1
=
=
Identifier bits
ID0
ID1
LIN synch
Identifier field
field
Ý
Ý
ID1
ID3
Parity bits
Ý
Ý
Parity bits
ID2
ID4
Ý
Ý
Identifier
ID4
ID5
field
Stop bit
M = 0
Figure 67
by the

Related parts for st7pmc2s6