Interfacing an I2C based RTC (Real Time Clock), DS1307 to PSoC 1

Question: How to Interface an I2C based Real Time Clock, DS1307 to PSoC 1 ?

 

Answer:

DS1307 is an RTC which has I2C interface feature. This RTC can be easily interfaced to PSoC 1 for getting accurate time and date.  I2CHW User Module in PSoC 1 can be used for this purpose. This module acts as I2C master and communicates with the slave I2C device, which is RTC here. 

A PSoC Designer project in which this is implemented is attached along with a document which explains the implementation.