Electronic Components Datasheet Search
  English  ▼

X  

AN1324 Datasheet(PDF) 5 Page - STMicroelectronics

Part # AN1324
Description  CALIBRATING THE RC OSCILLATOR OF THE ST7FLITE0 MCU USING THE MAINS
PDF  15 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1324 Datasheet(HTML) 5 Page - STMicroelectronics

  AN1324 Datasheet HTML 1Page - STMicroelectronics AN1324 Datasheet HTML 2Page - STMicroelectronics AN1324 Datasheet HTML 3Page - STMicroelectronics AN1324 Datasheet HTML 4Page - STMicroelectronics AN1324 Datasheet HTML 5Page - STMicroelectronics AN1324 Datasheet HTML 6Page - STMicroelectronics AN1324 Datasheet HTML 7Page - STMicroelectronics AN1324 Datasheet HTML 8Page - STMicroelectronics AN1324 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 15 page
background image
5/15
CALIBRATING THE RC OSCILLATOR OF THE ST7FLITE0 MCU USING THE MAINS
1.3 AVERAGE VERSION
This version uses the method described in Section 1.1 except it performs four measurements
and uses their average for each dichotomization step. It is useful when the mains is noisy. For
instance, when a motor starts it generates a tension pick and this can be considered as a
mains edge.
This version is safer than the basic one but it requires more resources. It uses 136 bytes of
program memory and 11 bytes of RAM during calibration. The calibration takes less than 560
ms to be completed.
The average version works as shown in the following flowchart. The assembly code can be
found in Section 4.
Figure 4. Average software flowchart
Dichotomization
finished?
Initialization of Lite Timer
Average
Increase RCCR
Decrease RCCR
Clock is set to 1 MHz
smaller
greater or equal
Compare
result with
reference
no
yes
calculation
4 measurements and



Html Pages

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


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