Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN3258 Datasheet(PDF) 8 Page - STMicroelectronics

Part # AN3258
Description  Local interconnect network
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3258 Datasheet(HTML) 8 Page - STMicroelectronics

Back Button AN3258 Datasheet HTML 4Page - STMicroelectronics AN3258 Datasheet HTML 5Page - STMicroelectronics AN3258 Datasheet HTML 6Page - STMicroelectronics AN3258 Datasheet HTML 7Page - STMicroelectronics AN3258 Datasheet HTML 8Page - STMicroelectronics AN3258 Datasheet HTML 9Page - STMicroelectronics AN3258 Datasheet HTML 10Page - STMicroelectronics AN3258 Datasheet HTML 11Page - STMicroelectronics AN3258 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 16 page
background image
HSI calibration
AN3258
8/16
Doc ID 17825 Rev 1
1.3
HSI calibration method
This section explains how to calibrate the HSI oscillator using the LIN automatic
resynchronization feature described above. The automatic resynchronization feature
updates the LIN baud rate divider (LDIV) after each LIN sync field reception. The calibration
method uses the updated LDIV factor to calculate the HSI frequency variation, under current
conditions, using the equations below.
Equation 1
Where, fHSI = nominal HSI frequency of 16 MHz and HSIDIV is the HSI prescaler factor
programmed in the CLK_CKDIVR register.
The LIN baud rate is programmed by software after writing the LDIV_NOM value into the
BRR1 and BRR2 registers.
Equation 2
As slave node uses the HSI clock as fMASTER, fMASTER = fHSIDIV.
Equation 3
Equation 4
After the LIN sync field reception, the LIN baud rate divider is measured by the automatic
resynchronization (LDIV_MEAS) and it is automatically loaded into the BRR1 and BRR2
registers. These actions keep the same baud rate under varying HSI oscillator frequency
conditions. The LDIV_MEAS factor multiplied by the baud rate gives the current HSI
frequency (fMEASURED).
Where, LDIV_MEAS = LDIV measured after automatic resynchronization.
The difference between the fREFERENCE and fMEASURED gives the variation of HSI oscillator
frequency.
Equation 5
Where,
ΔFREQUENCY is the HSI oscillator frequency variation.
f
HSIDIV""
f
HSI
HSIDIV
--------------------
=
Baudrate
f
MASTER
LDIV_NOM
------------------------------
=
LDIV_NOM
f
MASTER
Baudrate
--------------------------
=
f
MESASURED
LDIV_MEAS
Baudrate
=
FREQUENCY
f
MASTER
f
MEASURED
–
=



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


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