Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1530 Datasheet(PDF) 5 Page - STMicroelectronics

Part # AN1530
Description  ACCURATE TIMEBASE FOR LOW-COST ST7 APPLICATIONS WITH INTERNAL RC OSCILLATOR
PDF  12 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1530 Datasheet(HTML) 5 Page - STMicroelectronics

  AN1530 Datasheet HTML 1Page - STMicroelectronics AN1530 Datasheet HTML 2Page - STMicroelectronics AN1530 Datasheet HTML 3Page - STMicroelectronics AN1530 Datasheet HTML 4Page - STMicroelectronics AN1530 Datasheet HTML 5Page - STMicroelectronics AN1530 Datasheet HTML 6Page - STMicroelectronics AN1530 Datasheet HTML 7Page - STMicroelectronics AN1530 Datasheet HTML 8Page - STMicroelectronics AN1530 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 12 page
background image
5/12
ACCURATE TIMEBASE FOR LOW-COST ST7 APPLICATIONS WITH INTERNAL RC...
1.3 AVERAGING AND GLITCH ALGORITHM
This algorithm an added feature to section1.2. When the 50 Hz source has noise or spikes,
this algorithm helps to prevent a wrong measurement of the reference signal. If you develop a
permanent hardware circuit to generate the 50 Hz signal, then it may contain noise signals as
well as glitches or spikes. This algorithm is a must in this case.
This software uses 12 bytes of RAM and takes 325 ms (one loop to find the average of 8 sam-
ples) to find the deviation fraction. The flowchart shows how this algorithm works.
Figure 3. Average and Glitch Algorithm Flowchart
yes
?
capture_range
sample = (+/-)10% of
First sample of capture counter is stored (capture_range)
for glitch filtering
Initialisation of TIMER A capture and variables
Check
no
Average
Internal RC deviation fraction = Average Capture Counter / Calculated (Ideal) Capture Counter
yes
?
over
8 samples
Is
no
(Figure 2)
START
Capture counter measurement



Html Pages

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


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