Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN1602 Datasheet(PDF) 13 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) 13 Page - STMicroelectronics

Back Button 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 AN1602 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 21 page
background image
13/21
16-BIT TIMING OPERATIONS USING ST7262 OR ST7263B MCUs
So the minimum period (the maximum frequency) that can be measured using the ST7262 16-
bits cascaded timer can be calculated using the following formula.
Figure 13. Minimum measurable period (max. frequency)
2T > T0+T1+T0+T2+T3
T0: Time needed to activate the interrupt routine (10 tCPU), and the time need to wait for the in-
ternal clock rising edge (about 2 tCPU).
T1: Time needed to execute the interrupt routine. Using the example software supplied in this
application note, the input capture interrupt routine needs about 62 tCPU.
T2: The time needed to exit from the interrupt routine (9 tCPU).
T3: This represents the period of time from the start of the interrupt routine until the ICxR reg-
ister is read (about 3 tCPU in the example software).
Using the above values based on the software example:
T0 = 10, T1 = 62 tCPU, T2 = 9 tCPU, T3 = 3 tCPU
2 T > T0+T1+T0+T2+T3
2 T > (12 + 62 + 12 + 9 + 3) * tCPU
> 98 * 0.125 µs
> 12.25
So we can calculate the minimum period Tmin = 6.125 µs.
1.3.2 Using the ST7263B 16-bit timer
1.3.2.1 Maximum Period
Using the ST7263B 16-bit timer, the maximum measurable period tmax can be expressed as
follows:
tmax = FFFFh * Timerclk = 65535 Timerclk
So the maximum period that can measured using the ST7263B 16-bit timer and the ST7262
cascaded timer is the same, however the minimum period is different.
T
T1
T1
T0
T3
T
123
12
3
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