Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2822 Datasheet(PDF) 8 Page - STMicroelectronics

Part # AN2822
Description  STM8S and STM8A high speed internal oscillator calibration
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2822 Datasheet(HTML) 8 Page - STMicroelectronics

Back Button AN2822 Datasheet HTML 4Page - STMicroelectronics AN2822 Datasheet HTML 5Page - STMicroelectronics AN2822 Datasheet HTML 6Page - STMicroelectronics AN2822 Datasheet HTML 7Page - STMicroelectronics AN2822 Datasheet HTML 8Page - STMicroelectronics AN2822 Datasheet HTML 9Page - STMicroelectronics AN2822 Datasheet HTML 10Page - STMicroelectronics AN2822 Datasheet HTML 11Page - STMicroelectronics AN2822 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 19 page
background image
High speed internal oscillator trimming
AN2822
8/19
Doc ID 14983 Rev 2
Figure 3.
HSI calibration flowchart
1.
The ‘abs’ function calculates absolute value.
The measurement routine results are the sum of HSI pulses during the consequential
calibration period. The number of calibration signal periods, L, used for the measurement
are given by the constant, MAX_AVERAGED_PERIOD. The more periods used for the
measurement, the lower the uncertainty of period length due to the averaging effect. The
recommended value range is 4 or 8.
prevDiff
<
actDiff
Increment
CLK_HSITRIM
End of Calibration
Yes
No
Start of Calibration
CLK_HSITRIM = MAX_TRIM_VAL
Initialization of TIM3
Measure the HSI pulses,
Calculate abs (actual – ideal),
store it in prevDiff
CLK_HSITRIM
MIN_TRIM_VAL
Yes
No
Decrement
CLK_HSITRIM
Measure the HSI pulses
Calculate 1)
abs (actual – ideal)
Store it in actDiff
prevDiff = actDiff



Html Pages

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


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