ST72361K6 STMicroelectronics, ST72361K6 Datasheet - Page 220

no-image

ST72361K6

Manufacturer Part Number
ST72361K6
Description
8-bit MCU
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72361K6

Hdflash Endurance
100 cycles, data retention 40 years at 85°C
5 Power Saving Modes
Halt, Auto Wake Up From Halt, Active Halt, Wait and Slow
ST72361
IMPORTANT NOTES (Cont’d)
16.1.5 Header Time-out Does Not Prevent
Wake-up from Mute Mode
Normally, when LINSCI is configured in LIN slave
mode, if a header time-out occurs during a LIN
header reception (that is, header length > 57 bits),
the LIN Header Error bit (LHE) is set, an interrupt
occurs to inform the application but the LINSCI
should stay in mute mode, waiting for the next
header reception.
Problem Description
The LINSCI sampling period is Tbit / 16. If a LIN
Header time-out occurs between the 9th and the
15th sample of the Identifier Field Stop Bit (refer to
Figure
mode. Nevertheless, LHE is set and LIN Header
Detection Flag (LHDF) is kept cleared.
In addition, if LHE is reset by software before this
15th sample (by accessing the SCISR register and
Figure 130. Header Reception Event Sequence
220/225
130), the LINSCI wakes up from mute
LIN Synch
Break
LIN Synch
Field
T
HEADER
Identifier
Field
reading the SCIDR register in the LINSCI interrupt
routine), the LINSCI will generate another LINSCI
interrupt (due to the RDRF flag setting).
Impact on application
Software may execute the interrupt routine twice
after header reception.
Moreover, in reception mode, as the receiver is no
longer in mute mode, an interrupt will be generat-
ed on each data byte reception.
Workaround
The problem can be detected in the LINSCI inter-
rupt routine. In case of timeout error (LHE is set
and LHLR is loaded with 00h), the software can
check the RWU bit in the SCICR2 register. If RWU
is cleared, it can be set by software. Refer to
ure 131 on page
bold characters.
ID field STOP bit
Active mode is set
(RWU is cleared)
221. Workaround is shown in
Critical
Window
RDRF flag is set
Fig-

Related parts for ST72361K6