RTC Interfacing
RTC Interfacing
VCC
Pin 24 provides external supply
voltage to the chip
The external voltage source is + 5
volt.
When VCC falls below the 3 volts
level, the external source is switched
off and the internal Li battery
provides power to the RTC
DS 12887 connection to
8051
Address map
The following code initialize the clock at 16:58:55 using the BCD
mode and the 24 hour clock mode with day light saving time
October 19th
2004