Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ST72561 Datasheet(PDF) 145 Page - STMicroelectronics

Part # ST72561
Description  8-BIT MCU WITH FLASH OR ROM, 10-BIT ADC, 5 TIMERS, SPI, LINSCI , ACTIVE CAN
PDF  262 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST72561 Datasheet(HTML) 145 Page - STMicroelectronics

Back Button ST72561 Datasheet HTML 141Page - STMicroelectronics ST72561 Datasheet HTML 142Page - STMicroelectronics ST72561 Datasheet HTML 143Page - STMicroelectronics ST72561 Datasheet HTML 144Page - STMicroelectronics ST72561 Datasheet HTML 145Page - STMicroelectronics ST72561 Datasheet HTML 146Page - STMicroelectronics ST72561 Datasheet HTML 147Page - STMicroelectronics ST72561 Datasheet HTML 148Page - STMicroelectronics ST72561 Datasheet HTML 149Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 145 / 262 page
background image
ST72561
145/262
LIN
SCI
 SERIAL COMMUNICATION INTERFACE (LIN Mode) (Cont’d)
10.7.9.5 LIN Baudrate
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
depending on the nominal baud rate) in the
LPFR / LPR registers.
– Set the LASE bit to enable the Auto Synchroni-
zation Unit.
When Auto Synchronization is enabled, after each
LIN Synch Break, the time duration between 5 fall-
ing edges on RDI is sampled on fCPU and the re-
sult of this measurement is stored in an internal
15-bit register called SM (not user accessible)
(See Figure 83). Then the LDIV value (and its as-
sociated LPFR and LPR registers) are automati-
cally updated at the end of the fifth falling edge.
During LIN Synch field measurement, the SCI
state machine is stopped and no data is trans-
ferred 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-
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 is
explained in Figure 84 and Figure 85. It depends
on the LDUM bit setting (LIN Divider Update Meth-
od)
Note:
As explained in Figure 84 and Figure 85, LDIV
can 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.
Tx = Rx =
(16*LDIV)
fCPU



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com