CE95915 - Implementing an RTC with PSoC® 4100/PSoC 4200 Devices | Cypress Semiconductor
CE95915 - Implementing an RTC with PSoC® 4100/PSoC 4200 Devices
This example project demonstrates the implementation of a real-time clock (RTC) in PSoC 4100 and PSoC 4200 devices using a 32.768-kHz crystal and PSoC internal resources.
An RTC provides time and date information – second, minute, hour, day of the week, day of the month, day of the year month, and year. The time and date information are updated every second based on a one-second interrupt generated from a 32.768-kHz crystal. The clock accuracy depends on the crystal; it is typically 20 ppm.
PSoC 4100 and PSoC 4200 devices do not have built-in watch crystal support. To overcome this limitation, an external crystal oscillator (ECO) circuit is created using PSoC 4’s internal resources and external passive components.