Electronic Components Datasheet Search
  English  ▼

X  

PCF2123 Datasheet(PDF) 22 Page - NXP Semiconductors

Part # PCF2123
Description  SPI Real time clock/calendar Time keeping application
PDF  63 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NXP [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo NXP - NXP Semiconductors

PCF2123 Datasheet(HTML) 22 Page - NXP Semiconductors

Back Button PCF2123 Datasheet HTML 18Page - NXP Semiconductors PCF2123 Datasheet HTML 19Page - NXP Semiconductors PCF2123 Datasheet HTML 20Page - NXP Semiconductors PCF2123 Datasheet HTML 21Page - NXP Semiconductors PCF2123 Datasheet HTML 22Page - NXP Semiconductors PCF2123 Datasheet HTML 23Page - NXP Semiconductors PCF2123 Datasheet HTML 24Page - NXP Semiconductors PCF2123 Datasheet HTML 25Page - NXP Semiconductors PCF2123 Datasheet HTML 26Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 63 page
background image
PCF2123
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
Product data sheet
Rev. 5 — 27 April 2011
22 of 63
NXP Semiconductors
PCF2123
SPI Real time clock/calendar
8.6.4 Countdown timer function
The 8-bit countdown timer at address 0Fh is controlled by the register Timer_clkout at
address 0Eh. The register Timer_clkout selects one of 4 source clock frequencies for the
timer (4.096 kHz, 64 Hz, 1 Hz, or 1
⁄
60 Hz) and enables or disables the timer.
[1]
When not in use, CTD must be set to 1
⁄
60 Hz for power saving.
[2]
Time periods can be affected by correction pulses.
Remark: Note that all timings which are generated from the 32.768 kHz 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 stops the timer. Values from 1 to 255 are valid. When the counter reaches 1, the
countdown timer flag (bit 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 15).
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 changing n without first disabling the
counter (by setting bit TE = 0). The update of n is asynchronous to the timer clock,
Table 28.
Bits CTD0 and CTD1 for timer frequency selection and countdown timer
durations
CTD[1:0]
Timer source clock
frequency[1]
Delay
Minimum timer duration
n= 1
Maximum timer duration
n=255
00
4.096 kHz
244
μs
62.256 ms
01
64 Hz
15.625 ms
3.984 s
10
1 Hz[2]
1 s
255 s
11
1
⁄
60 Hz
[2]
60 s
4 h 15 min
In this example it is assumed that the timer flag is cleared before the next countdown period
expires and that the pin INT is set to pulsed mode.
Fig 15. 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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63


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