INTRODUCTION
This application note describes the implementation of
software Real-Time Clock and Calendar (RTCC). The
implementation can be used either separately,
replacing one of the hardware RTCC devices on the
market, or as part of an application. In the latter
example, there is no need for the I
2
C™ communication
channel.
The implementation provides the time (seconds,
minutes, and hour), date (day, month, and year), day of
week, and one alarm. The user can customize the
firmware according to his/her own needs. AN1303
Software Real-Time Clock and Calendar Using PIC16F1827
Author: Cristian Toma DATA INTERFACE
Microchip Technology Inc. The Real-Time Clock and Calendar communicates with
the host system via a two-wire I2C bus as a slave
device. A set of I2C commands and RTCC registers are
INTRODUCTION implemented to allow the host to read and write time
This application note describes the implementation of and date information. All registers are read and……