| Electronic Components Datasheet Search |
|
AN1602 Datasheet(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1602 Datasheet(HTML) 12 Page - STMicroelectronics |
|
12 / 21 page ![]() 12/21 16-BIT TIMING OPERATIONS USING ST7262 OR ST7263B MCUs Figure 11 shows the normal behaviour of the input capture routine: each rising edge is de- tected and the input capture interrupt routine is executed after the T0 delay. In this case the period measurement operation can be easily done. Figure 11. Case 1: Interrupt routine execution shorter than period to be measured T: Period of the external signal to be measured T1: Interrupt routine execution time T0: Delay needed to activate the interrupt routine The minimum period that can measured depends strongly on the number of rising edges during the interrupt routine execution. A single rising edge during the execution of the interrupt routine does not corrupt the meas- urement value and the period measurement operation can be achieved successfully (Figure 12). Figure 12. Case 2: Interrupt routine execution longer than period to be measured T: Period of the external signal to be measured T1: Interrupt routine execution time T0: Delay needed to activate the interrupt routine T2: Delay needed to exit from interrupt routine However, any additional rising edge leads to a corrupted measurement. As shown in Figure 12, the second rising edge is ignored, in fact before executing the input capture interrupt trig- gered by the second rising edge, a third one occurs and overwrites the previous ICxR value. For this reason the period measurement operation result is corrupted (result = 2 * T). T T1 T1 T T0 T0 T0 T T1 T1 T T0 T2 |
|
|
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 |