ST7FMC1K2B3 STMICROELECTRONICS [STMicroelectronics], ST7FMC1K2B3 Datasheet - Page 131

no-image

ST7FMC1K2B3

Manufacturer Part Number
ST7FMC1K2B3
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
LINSCI™ SERIAL COMMUNICATION INTERFACE (LIN Mode) (cont’d)
10.5.9.9 Error due to LIN Synch measurement
The LIN Synch Field is measured over eight bit
times.
This measurement is performed using a counter
clocked by the CPU clock. The edge detections
are performed using the CPU clock cycle.
This leads to a precision of 2 CPU clock cycles for
the measurement which lasts 16*8*LDIV clock cy-
cles.
Consequently, this error (D
2 / (128*LDIV
LDIV
er content, leading to the maximum baud rate, tak-
ing into account the maximum deviation of +/-15%.
10.5.9.10 Error due to Baud Rate Quantization
The baud rate can be adjusted in steps of 1 / (16 *
LDIV). The worst case occurs when the “real”
baud rate is in the middle of the step.
This leads to a quantization error (D
to 1 / (2*16*LDIV
10.5.9.11
Maximum Baud Rate
The choice of the nominal baud rate (LDIV
will influence both the quantization error (D
and the measurement error (D
case occurs for LDIV
MIN
corresponds to the minimum LIN prescal-
Impact
MIN
).
MIN
).
MIN
of
.
Clock
MEAS
MEAS
) is equal to:
Deviation
QUANT
). The worst
QUANT
) equal
NOM
on
)
)
Consequently, at a given CPU frequency, the
maximum possible nominal baud rate (LPR
should be chosen with respect to the maximum tol-
erated deviation given by the equation:
D
+ D
Example:
A nominal baud rate of 20Kbits/s at T
(8 MHz) leads to LDIV
LDIV
D
D
LIN Slave systems
For LIN Slave systems (the LINE and LSLV bits
are set), receivers wake up by LIN Synch Break or
LIN Identifier detection (depending on the LHDM
bit).
Hot Plugging Feature for LIN Slave Nodes
In LIN Slave Mute Mode (the LINE, LSLV and
RWU bits are set) it is possible to hot plug to a net-
work during an ongoing communication flow. In
this case the SCI monitors the bus on the RDI line
until 11 consecutive dominant bits have been de-
tected and discards all the other bits received.
TRA
MEAS
QUANT
REC
MIN
+ 2 / (128*LDIV
= 2 / (128*LDIV
+ D
= 1 / (2*16*LDIV
= 25 - 0.15*25 = 21.25
TCL
< 3.75%
MIN
NOM
MIN
ST7MC1xx/ST7MC2xx
) + 1 / (2*16*LDIV
MIN
) * 100 = 0.00073%
= 25d.
) * 100 = 0.0015%
CPU
= 125ns
MIN
131/309
MIN
)
1
)

Related parts for ST7FMC1K2B3