PCF8564A All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
Product data sheet Rev. 3 — 26 August 2013 7 of 48
NXP Semiconductors
PCF8564A
Real time clock and calendar
8.3 Control registers
8.3.1 Register Control_1
[1] Default value.
[2] Bits labeled as N should always be written with logic 0.
8.3.2 Register Control_2
[1] Bits labeled as N should always be written with logic 0.
[2] Default value.
Table 6. Control_1 - control and status register 1 (address 00h) bit description
Bit Symbol Value Description Reference
7 TEST1 0
[1]
normal mode;
must be set to logic 0 during normal operations
Section 8.9
1 EXT_CLK test mode (see Section 8.9)
6N 0
[2]
default value
5STOP0
[1]
RTC source clock runs Section 8.10
1 RTC divider chain flip-flops are asynchronously set to logic 0
the RTC clock is stopped (CLKOUT at 32.768 kHz is still available)
4N 0
[2]
default value
3 TESTC 0 Power-On Reset (POR) override facility is disabled;
set to logic 0 for normal operation (see Section 8.11.1)
Section 8.11.1
1
[1]
Power-On Reset (POR) override is enabled
2 to 0 N 000
[2]
default value
Table 7. Control_2 - control and status register 2 (address 01h) bit description
Bit Symbol Value Description Reference
7to5 N 000
[1]
default value
4TI_TP0
[2]
INT is active when TF is active (subject to the status of TIE)
1INT
pulses active according to Table 8 (subject to the status of TIE);
Remark: note that if AF and AIE are active then INT will be
permanently active
Section 8.3.2.1
and
Section 8.8
3AF 0
[2]
alarm flag inactive Section 8.3.2.1
1 alarm flag active
2TF 0
[2]
timer flag inactive Section 8.3.2.1
1 timer flag active
1AIE 0
[2]
alarm interrupt disabled Section 8.3.2.1
1 alarm interrupt enabled
0TIE 0
[2]
timer interrupt disabled Section 8.3.2.1
1 timer interrupt enabled
PCF8564A All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
Product data sheet Rev. 3 — 26 August 2013 8 of 48
NXP Semiconductors
PCF8564A
Real time clock and calendar
8.3.2.1 Interrupt output
Bits TF and AF: When an alarm occurs, AF is set to 1. Similarly, at the end of a timer
countdown, TF is set to 1. These bits maintain their value until overwritten by command. If
both timer and alarm interrupts are required in the application, the source of the interrupt
can be determined by reading these bits. To prevent one flag being overwritten while
clearing another, a logic AND is performed during a write access.
Bits TIE and AIE: These bits activate or deactivate the generation of an interrupt when
TF or AF is asserted respectively. The interrupt is the logical OR of these two conditions
when both AIE and TIE are set.
Countdown timer interrupts: The pulse generator for the countdown timer interrupt uses
an internal clock and is dependent on the selected source clock for the countdown timer
and on the countdown value TV. As a consequence, the width of the interrupt pulse varies
(see Table 8
).
[1] TF and INT become active simultaneously.
[2] TV = loaded countdown value. Timer is stopped when TV = 0.
When bits TIE and AIE are disabled, pin INT
will remain high-impedance.
Fig 3. Interrupt scheme
DDD
7(
&2817'2:1&2817(5
$)$/$50
)/$*
&/($5
6(7
WRLQWHUIDFH
UHDG$)
7)7,0(5
&/($5
6(7
38/6(
*(1(5$725
&/($5
75,**(5
7,(
,17
IURPLQWHUIDFH
FOHDU7)
IURPLQWHUIDFH
FOHDU$)
VHWDODUP
IODJ$)
WRLQWHUIDFH
UHDG7)
7,B73
$,(
HJ$,(
Table 8. INT operation (bit TI_TP = 1)
[1]
Source clock (Hz) INT period (s)
TV = 1
[2]
TV > 1
4096
1
8192
1
4096
64
1
128
1
64
1
1
64
1
64
1
60
1
64
1
64
PCF8564A All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
Product data sheet Rev. 3 — 26 August 2013 9 of 48
NXP Semiconductors
PCF8564A
Real time clock and calendar
8.4 Time and date registers
The majority of the registers are coded in the BCD format to simplify application use.
8.4.1 Register Seconds
[1] Start-up value.
8.4.1.1 Voltage low detector and clock monitor
The PCF8564A has an on-chip voltage low detector. When V
DD
drops below V
low
the VL
(Voltage Low) flag is set to indicate that the integrity of the clock information is no longer
guaranteed. The VL flag can only be cleared by command.
Table 9. Seconds - seconds and clock integrity status register (address 02h) bit
description
Bit Symbol Value Place value Description
7 VL 0 - clock integrity is guaranteed
1
[1]
- integrity of the clock information is not guaranteed
6 to 4 SECONDS 0 to 5 ten’s place actual seconds coded in BCD format, see Table 10
3 to 0 0 to 9 unit place
Table 10. Seconds coded in BCD format
Seconds value in
decimal
Upper-digit (tens place) Digit (unit place)
Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
00 0000000
01 0000001
02 0000010
:
09 0001001
10 0010000
:
58 1011000
59 1011001
Fig 4. Voltage low detection
9/VHW
QRUPDOSRZHU
RSHUDWLRQ
SHULRGRIEDWWHU\
RSHUDWLRQ
W
9
''
9
ORZ
PJU

PCF8564AU/5BB/1,01

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC RTC CLK/CALENDAR I2C DIE
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union