ST72561R9 STMicroelectronics, ST72561R9 Datasheet - Page 143

no-image

ST72561R9

Manufacturer Part Number
ST72561R9
Description
8-BIT MCU WITH FLASH OR ROM, 10-BIT ADC, 5 TIMERS, SPI, LINSCI(TM), ACTIVE CAN
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72561R9

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
LINSCI™ SERIAL COMMUNICATION INTERFACE (LIN Mode) (cont’d)
10.7.9.5 LIN Baud Rate
Baud rate programming is done by writing a value
in the LPR prescaler or performing an automatic
resynchronization as described below.
Automatic Resynchronization
To automatically adjust the baud rate based on
measurement of the LIN Synch Field:
– Write the nominal LIN Prescaler value (usually
– Set the LASE bit to enable the Auto Synchroni-
When Auto Synchronization is enabled, after each
LIN Synch Break, the time duration between five
falling edges on RDI is sampled on f
result of this measurement is stored in an internal
15-bit register called SM (not user accessible)
(see
ciated LPFR and LPR registers) are automatically
updated at the end of the fifth falling edge. During
LIN Synch field measurement, the SCI state ma-
chine is stopped and no data is transferred to the
data register.
10.7.9.6 LIN Slave Baud Rate Generation
In LIN mode, transmission and reception are driv-
en by the LIN baud rate generator
Note: LIN Master mode uses the Extended or
Conventional prescaler register to generate the
baud rate.
If LINE bit = 1 and LSLV bit = 1 then the Conven-
tional and Extended Baud Rate Generators are
disabled: the baud rate for the receiver and trans-
depending on the nominal baud rate) in the
LPFR / LPR registers.
zation Unit.
Figure
7). Then the LDIV value (and its asso-
CPU
and the
mitter are both set to the same value, depending
on the LIN Slave baud rate generator:
with:
LDIV is an unsigned fixed point number. The man-
tissa is coded on 8 bits in the LPR register and the
fraction is coded on 4 bits in the LPFR register.
If LASE bit = 1 then LDIV is automatically updated
at the end of each LIN Synch Field.
Three registers are used internally to manage the
auto-update of the LIN divider (LDIV):
- LDIV_NOM (nominal value written by software at
LPR/LPFR addresses)
- LDIV_MEAS (results of the Field Synch meas-
urement)
- LDIV (used to generate the local baud rate)
The control and interactions of these registers, ex-
plained in
LDUM bit setting (LIN Divider Update Method).
Note:
As explained in
be updated by two concurrent actions: a transfer
from LDIV_MEAS at the end of the LIN Sync Field
and a transfer from LDIV_NOM due to a software
write of LPR. If both operations occur at the same
time, the transfer from LDIV_NOM has priority.
Figure 8
Tx = Rx =
Figure 8
and
(16
Figure
f
CPU
and
*
LDIV)
Figure
9, depend on the
9, LDIV can
ST72561
143/265

Related parts for ST72561R9