| Electronic Components Datasheet Search |
|
AN1602 Datasheet(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1602 Datasheet(HTML) 14 Page - STMicroelectronics |
|
14 / 21 page ![]() 14/21 16-BIT TIMING OPERATIONS USING ST7262 OR ST7263B MCUs Table 2. Time measurement range using ST7263B 1.3.2.2 Minimum Period In the case of ST7263B, on each valid input capture, the 16-bit counter value is latched auto- matically into the 16-bit input capture registers (TICxHR & TICxLR) without any additional soft- ware routine. So compared to the ST7262, the ST7263B needs less time to store the input capture parameters into temporary variables. Using the same method as for the ST7262 (see Figure 13): 2T > T0+T1+T0+T2+T3 And with the following parameters: T0= 12 tCPU (10 tCPU for the interrupt activation and 2 tCPU the maximum time needed to syn- chronise the interrupt flag with the internal CPU frequency). T1= 26 tCPU T2=9 tCPU T3 = 23 tCPU (from the start of the interrupt routine until the interrupt flag is cleared). Using the above values based on the software example: T0 = 12, T1 = 26 tCPU, T2 = 9 tCPU, T3 = 23 tCPU 2 T > T0+T1+T0+T2+T3 2 T > (12 + 26 + 12 + 9 + 23) * tCPU > 82 * 0.125 µs > 10.25 µs So we can calculate the minimum period Tmin = 5.125 µs. 1.3.2.3 Period Measurement Comparison Chart The following table can be used to select the best prescaler value for a precise time or fre- quency measurement with the appropriate resolution. Prescalers Timer Frequency Maxi Period Resolution = 1 tCLK 2 4 MHz 16,384 ms 0.250 µs 4 2 MHz 32,767 ms 0.500 µs 8 1 MHz 65,535 ms 1 µs |
|
|
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 |