ST72361K6 STMicroelectronics, ST72361K6 Datasheet - Page 140

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
LINSCI™ SERIAL COMMUNICATION INTERFACE (LIN Mode) (cont’d)
If LHE bit is set due to this error during Fields other
than LIN Synch Field or if LASE bit is reset then
the current received Header is discarded and the
SCI searches for a new Break Field.
Note on LIN Header Time-out Limit
According to the LIN specification, the maximum
length of a LIN Header which does not cause a
timeout
T
T
When checking this timeout, the slave node is de-
synchronized for the reception of the LIN Break
and Synch fields. Consequently, a margin must be
allowed, taking into account the worst case: This
occurs when the LIN identifier lasts exactly 10
T
and Synch fields last 49 - 10 = 39T
riods.
Assuming the slave measures these first 39 bits
with a desynchronized clock of 15.5%. This leads
to a maximum allowed Header Length of:
39 x (1/0.845) T
= 56.15 T
A margin is provided so that the time-out occurs
when the header length is greater than 57
T
T
Figure 83. LIN Synch Field Measurement
140/225
BIT_MASTER
BIT_MASTER
BIT_MASTER
BIT_SLAVE
BIT_SLAVE
SM = Synch Measurement Register (15 bits)
T
T
CPU
BR
LIN Synch Break
= Baud Rate period
= CPU period
BIT_SLAVE
is
periods. If it is less than or equal to 57
periods, then no timeout occurs.
.
refers to the master baud rate.
periods. In this case, the LIN Break
BIT_MASTER
equal
Extra
LPR(n)
‘1’
to
+ 10T
T
Start
Bit
BR
1.4 * (34 + 1) = 49
T
LPR = T
BR
BIT_MASTER
BIT_MASTER
= 16.LPR.T
Bit0
BR
Measurement = 8.T
/ (16.T
Bit1 Bit2
CPU
pe-
CPU
LIN Synch Field
) = Rounding (SM / 128)
LIN Header Length
Even if no timeout occurs on the LIN Header, it is
possible to have access to the effective LIN head-
er Length (T
This allows monitoring at software level the
T
This feature is only available when LHDM bit = 1
or when LASE bit = 1.
Mute Mode and Errors
In mute mode when LHDM bit = 1, if an LHE error
occurs during the analysis of the LIN Synch Field
or if a LIN Header Time-out occurs then the LHE
bit is set but it does not wake up from mute mode.
In this case, the current header analysis is discard-
ed. If needed, the software has to reset LSF bit.
Then the SCI searches for a new LIN header.
In mute mode, if a framing error occurs on a data
(which is not a break), it is discarded and the FE bit
is not set.
When LHDM bit = 1, any LIN header which re-
spects the following conditions causes a wake-up
from mute mode:
- A valid LIN Break Field (at least 11 dominant bits
followed by a recessive bit)
- A valid LIN Synch Field (without deviation error)
- A LIN Identifier Field without framing error. Note
that a LIN parity error on the LIN Identifier Field
does not prevent wake-up from mute mode.
- No LIN Header Time-out should occur during
Header reception.
Bit3
FRAME_MAX
BR
Bit4
= SM.T
Bit5
CPU
condition given by the LIN protocol.
HEADER
Bit6
) through the LHL register.
Bit7
Stop
Bit
LPR(n+1)
Next
Start
Bit

Related parts for ST72361K6