| Electronic Components Datasheet Search |
|
PCA2125 Datasheet(PDF) 17 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
PCA2125 Datasheet(HTML) 17 Page - NXP Semiconductors |
|
17 / 40 page ![]() PCA2125_00 © NXP B.V. 2007. All rights reserved. Preliminary data sheet Rev. 00.11 — 30 January 2007 17 of 40 NXP Semiconductors PCA2125 SPI Real time clock / calendar 6.6.2 Countdown timer function The 8-bit countdown timer at address 0FHEX is controlled by the timer control register at address 0EHEX. The timer control register determines one of 4 source clock frequencies for the timer (4096 Hz, 64 Hz, 1 Hz, or 1 ⁄60 Hz), and enables or disables the timer. [1] When not in use, CDT must be set to 1 ⁄60 Hz for power saving. Remark: Note that all timings which are generated from the 32.768kHz oscillator are based on the assumption that there is 0 ppm deviation. Deviation in oscillator frequency will result in deviation in timings. This is not applicable to interface timing. The timer counts down from a software-loaded 8-bit binary value, n. Loading the counter with 0 effectively stops the timer. Values from 1 to 255 are valid. When the counter reaches 1, the countdown Timer Flag (TF) will be set and the counter automatically re-loads and starts the next timer period. Reading the timer will return the current value of the countdown counter (see Figure 11).. If a new value of n is written before the end of the current timer period, then this value will take immediate effect. NXP does not recommend to changing n without first disabling the counter (by setting TE = 0). The update of n is asynchronous to the timer clock, therefore changing it without setting TE = 0 will result in a corrupted value loaded into the Table 30. CDT1 and CDTD: Timer frequency selection CDT1 CDT0 TIMER Source clock frequency [1] delay for n= 1 delay for n=255 0 0 4096 Hz 244 μs 62.256 ms 0 1 64 Hz 15.625 ms 3.984 s 1 0 1 Hz 1 s 255 s 11 1 ⁄60 Hz 60 s 4 hrs 15 min In the example it is assumed that the timer flag is cleared before the next countdown period expires and that the INT is set to pulsed mode. Fig 11. General countdown timer behavior 001aaf906 n duration of first timer period after enable may range from n − 1 to n + 1 03 xx 02 01 03 02 01 03 02 01 03 n 03 xx countdown value, n timer source clock countdown counter TE TF INT |
|
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 |