Electronic Components Datasheet Search
  English  ▼

X  

AN1602 Datasheet(PDF) 12 Page - STMicroelectronics

Part # AN1602
Description  16-BIT TIMING OPERATIONS USING ST7262 OR ST7263B MCUs
PDF  21 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1602 Datasheet(HTML) 12 Page - STMicroelectronics

Back Button AN1602 Datasheet HTML 8Page - STMicroelectronics AN1602 Datasheet HTML 9Page - STMicroelectronics AN1602 Datasheet HTML 10Page - STMicroelectronics AN1602 Datasheet HTML 11Page - STMicroelectronics AN1602 Datasheet HTML 12Page - STMicroelectronics AN1602 Datasheet HTML 13Page - STMicroelectronics AN1602 Datasheet HTML 14Page - STMicroelectronics AN1602 Datasheet HTML 15Page - STMicroelectronics AN1602 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 21 page
background image
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



Html Pages

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


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