PCF85063BTL All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet Rev. 6 — 18 November 2015 22 of 58
NXP Semiconductors
PCF85063BTL
Tiny Real-Time Clock/calendar with alarm function and SPI-bus
[1] Definition may be reassigned by the user.
[2] Default value.
8.3.6 Register Months
[1] Default value.
Table 25. Weekday assignments
Day
[1]
Bit
2 1 0
Sunday 0 0 0
Monday 0 0 1
Tuesday 0 1 0
Wednesday 0 1 1
Thursday 1 0 0
Friday 1 0 1
Saturday
[2]
110
Table 26. Months - months register (address 09h) bit description
Bit Symbol Value Place value Description
7 to 5 - 000 - unused
4 MONTHS 0 to 1 ten’s place actual month coded in BCD
format, see Table 27
3 to 0 0 to 9 unit place
Table 27. Month assignments in BCD format
Month Upper-digit
(ten’s place)
Digit (unit place)
Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
January
[1]
00001
February 0 0 0 1 0
March 0 0 0 1 1
April00100
May00101
June00110
July00111
August01000
September 0 1 0 0 1
October10000
November10001
December10010
PCF85063BTL All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet Rev. 6 — 18 November 2015 23 of 58
NXP Semiconductors
PCF85063BTL
Tiny Real-Time Clock/calendar with alarm function and SPI-bus
8.3.7 Register Years
[1] Default value.
8.4 Setting and reading the time
Figure 12 shows the data flow and data dependencies starting from the 1 Hz clock tick.
During read/write operations, the time counting circuits (memory locations 04h through
0Ah) are blocked.
The blocking prevents
Faulty reading of the clock and calendar during a carry condition
Incrementing the time registers during the read cycle
After this read/write access is completed, the time circuit is released again and any
pending request to increment the time counters that occurred during the read/write access
is serviced. A maximum of 1 request can be stored; therefore, all accesses must be
completed within 1 second (see Figure 13
).
Table 28. Years - years register (0Ah) bit description
Bit Symbol Value Place value Description
7 to 4 YEARS 0
[1]
to 9 ten’s place actual year coded in BCD format
3to0 0
[1]
to 9 unit place
Fig 12. Data flow for the time function
DDD
6(&21'6
+]WLFN
0,187(6
+2856
BKRXUPRGH
'$<6
:((.'$<
/($3<($5
&$/&8/$7,21
0217+6
<($56
PCF85063BTL All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet Rev. 6 — 18 November 2015 24 of 58
NXP Semiconductors
PCF85063BTL
Tiny Real-Time Clock/calendar with alarm function and SPI-bus
Because of this method, it is very important to make a read or write access in one go, that
is, setting or reading seconds through to years should be made in one single access.
Failing to comply with this method could result in the time becoming corrupted.
As an example, if the time (seconds through to hours) is set in one access and then in a
second access the date is set, it is possible that the time will increment between the two
accesses. A similar problem exists when reading. A roll-over may occur between reads
thus giving the minutes from one moment and the hours from the next.
Recommended method for reading the time:
1. Send read command with register address pointing to 4 (Seconds) by sending 04h
2. Read Seconds
3. Read Minutes
4. Read Hours
5. Read Days
6. Read Weekdays
7. Read Months
8. Read Years
8.5 Alarm registers
8.5.1 Register Second_alarm
[1] Default value.
Fig 13. Access time for read/write operations
DDD
&200$1'GDWDEXV
FKLSHQDEOH
'$7$ '$7$ '$7$
WV
Table 29. Second_alarm - second alarm register (address 0Bh) bit description
Bit Symbol Value Place value Description
7 AEN_S second alarm
0 - enabled
1
[1]
- disabled
6 to 4 SECOND_ALARM 0
[1]
to 5 ten’s place second alarm information
coded in BCD format
3 to 0 0
[1]
to 9 unit place

PCF85063BTL/1,118

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Real Time Clock Low Power Real time clocks
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet