st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 163

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
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
When the LIN auto-resynchronization is enabled (LASE bit = 1), the LHE flag detects the
following:
Deviation error on the synch field
The deviation error is checked by comparing the current baud rate (relative to the slave
oscillator) with the received LIN synch field (relative to the master oscillator). Two checks are
performed in parallel:
If the LHE flag is set, it means that:
D > 15.625%
If LHE flag is not set, it means that:
D < 16.40625%
If 15.625% D
dephasing between the signal on the RDI line and the CPU clock.
When LHE is set due to this error then the SCI goes into a blocked state (LSF bit is set).
LIN header time-out error
When the LIN identifier field detection method is used (by configuring LHDM to 1) or when
LIN auto-resynchronization is enabled (LASE bit = 1), the LINSCI automatically monitors the
T
If the entire header (up to and including the STOP bit of the LIN identifier field) is not
received within the maximum time limit of 57 bit times then a LIN header error is signalled
and the LHE bit is set in the SCISR register.
Figure 68. LIN header
HEADER_MAX
The deviation error on the synch field is outside the LIN specification which allows up to
A LIN header reception timeout has occurred. If T
LHE flag is set (only if LHDM is set to 1), see
An overflow during the synch field measurement, which leads to an overflow of the
divider registers. If LHE is set due to this error then the SCI goes into a blocked state
(LSF bit is set).
An overrun has occurred on fields other than the synch field (as in standard SCI mode).
The first check is based on a measurement between the first falling edge and the last
falling edge of the synch field. Let us refer to this period deviation as D:
The second check is based on the measurement of each bit time between both edges
of the synch field: this checks that each of these bit times is large enough compared to
the bit time of the current baud rate.
15.5% of period deviation between the slave and master oscillators.
condition given by the LIN protocol.
16.40625%, then the flag can be either set or reset depending on the
LIN synch
break
LIN synch
T
HEADER
field
Figure
Identifier
field
HEADER
68.
> T
HEADER_MAX
On-chip peripherals
then the
163/371

Related parts for st7pmc2s6