Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN2326 Datasheet(PDF) 5 Page - STMicroelectronics

Part # AN2326
Description  Calibrating the RC oscillator of the ST7ULTRALITE MCU using the mains
PDF  20 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2326 Datasheet(HTML) 5 Page - STMicroelectronics

  AN2326 Datasheet HTML 1Page - STMicroelectronics AN2326 Datasheet HTML 2Page - STMicroelectronics AN2326 Datasheet HTML 3Page - STMicroelectronics AN2326 Datasheet HTML 4Page - STMicroelectronics AN2326 Datasheet HTML 5Page - STMicroelectronics AN2326 Datasheet HTML 6Page - STMicroelectronics AN2326 Datasheet HTML 7Page - STMicroelectronics AN2326 Datasheet HTML 8Page - STMicroelectronics AN2326 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 20 page
background image
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
AN2326
Calibration software
5/20
Figure 3.
Basic software flowchart
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 800 ms to be com-
pleted.
The average version works as shown in the following flowchart. The assembly code can be found in
Section 4.
Dichotomization
finished?
Initialization of Lite Timer
Measurement and
Increase RCCR
Decrease RCCR
Clock is set to 1 MHz
smaller
greater or equal
Compare
result with
reference
no
yes
calculation



Html Pages

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


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