PCA8565 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 4 — 5 December 2014 7 of 48
NXP Semiconductors
PCA8565
Real time clock/calendar
8.2 Control registers
8.2.1 Register Control_1
[1] Default value.
[2] Bits labeled as N should always be written with logic 0.
8.2.2 Register Control_2
[1] Bits labeled as N should always be written with logic 0.
[2] Default value.
Table 6. Register Control_1 (address 00h) bits description
Bit Symbol Value Description
7TEST1 0
[1]
normal mode
1 EXT_CLK test mode
6N 0
[2]
default value
5STOP 0
[1]
RTC source clock runs
1 all 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 override facility is disabled;
set to logic 0 for normal operation
1
[1]
power-on reset override may be enabled
2to0 N 000
[2]
default value
Table 7. Register Control_2 (address 01h) bits description
Bit Symbol Value Description
7to5 N 000
[1]
default value
4TI_TP 0
[2]
INT is active when TF is active (subject to the status of
TIE)
1INT
pulses active according to Table 29 (subject to the
status of TIE);
Remark: note that if AF and AIE are active then INT
will
be permanently active
3AF 0
[2]
alarm flag inactive
1 alarm flag active
2TF 0
[2]
timer flag inactive
1 timer flag active
1AIE 0
[2]
alarm interrupt disabled
1 alarm interrupt enabled
0TIE 0
[2]
timer interrupt disabled
1 timer interrupt enabled
PCA8565 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 4 — 5 December 2014 8 of 48
NXP Semiconductors
PCA8565
Real time clock/calendar
8.3 Reset
The PCA8565 includes an internal reset circuit which is active whenever the oscillator is
stopped. In the reset state the I
2
C-bus logic is initialized including the address pointer. All
other registers are set according to Table 8
.
[1] Registers labeled ‘x’ are undefined at power-on and unchanged by subsequent resets.
8.3.1 Power-On Reset (POR) override
The POR duration is directly related to the crystal oscillator start-up time. Due to the long
start-up times experienced by these types of circuits, a mechanism has been built in to
disable the POR and hence speed up on-board test of the device. The setting of this
mode requires that the I
2
C-bus pins, SDA and SCL, be toggled in a specific order as
shown in Figure 3
. All timings are required minimums.
Once the override mode has been entered, the device immediately stops being reset and
normal operation may commence i.e. entry into the EXT_CLK test mode via I
2
C-bus
access. The override mode may be cleared by writing a logic 0 to TESTC. TESTC must
be set to logic 1 before re-entry into the override mode is possible. Setting TESTC to
logic 0 during normal operation has no effect except to prevent entry into the POR
override mode.
Table 8. Register reset values
[1]
Address Register name Bit
7 6 5 4 3 2 1 0
00h Control_1 00001000
01h Control_2 xx000000
02hSeconds 1xxxxxxx
03hMinutes 1xxxxxxx
04hHours xxxxxxxx
05hDays xxxxxxxx
06hWeekdays xxxxxxxx
07hMonths_centuryxxxxxxxx
08hYears xxxxxxxx
09hMinute_alarm 1xxxxxxx
0AhHour_alarm 1xxxxxxx
0BhDay_alarm 1xxxxxxx
0ChWeekday_alarm1xxxxxxx
0DhCLKOUT_control1xxxxx00
0EhTimer_control 0xxxxx11
0FhTimer xxxxxxxx
PCA8565 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 4 — 5 December 2014 9 of 48
NXP Semiconductors
PCA8565
Real time clock/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
The PCA8565 has an on-chip voltage-low detector. When V
DD
drops below V
low
, bit VL in
the Seconds register is set to indicate that the integrity of the clock information is no
longer guaranteed. The VL flag is cleared by command.
Bit VL is intended to detect the situation when V
DD
is decreasing slowly, for example
under battery operation. Should V
DD
reach V
low
before power is re-asserted then bit VL is
set. This indicates that the time may be corrupt (see Figure 4
).
Fig 3. POR override sequence
PJP
6&/
QV QV
6'$
PV
RYHUULGHDFWLYH
SRZHURQ
Table 9. Register Seconds (address 02h) bits 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
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

PCA8565BS/1,118

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

Products related to this Datasheet