| Electronic Components Datasheet Search |
|
AN1530 Datasheet(PDF) 4 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1530 Datasheet(HTML) 4 Page - STMicroelectronics |
|
4 / 12 page ![]() 4/12 ACCURATE TIMEBASE FOR LOW-COST ST7 APPLICATIONS WITH INTERNAL RC... 1.2 BASIC ALGORITHM This algorithm measures the deviation of internal RC oscillator frequency in terms of Fraction. This will take 30ms to find the fraction. Software is developed in “C” language with the help of the ST7 software library. It needs 9 bytes of RAM. The software works as shown in the following flow chart for a single sample. Figure 2. Basic Algorithm Flowchart START Initialisation of TIMER A capture Measurement of the Capture1 and Capture2 done Is counter overflow generated ? Capture Counter= ( ( 0xffff - Capture1 ) + Capture2 ) yes Capture Counter= Capture2 - Capture1 no Internal RC deviation fraction = Measured Capture Counter / Calculated (Ideal) Capture Counter |
|
|
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 |
| 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 |