rtcDemo

This example (rtcDemo directory) shows how to use the on-board PCF8523 RTC module on the Ti375C529 FPGA. The demo allows the user to change various configurations such as real-time data with a convertible 12/24hr time system, alarm, and battery setting of the PCF8523 module when the main menu feature is enabled, else it will print the real-time data every few seconds.

Welcome to RTC Demo for Ti375C529

************START OF SYSTEM INITIALIZATION************

Checking CR information now ! 
RTC CR1 readback: 00000002
RTC CR2 readback: 00000000
RTC CR3 readback: 00000008

Enable battery switch-over!
Enable battery low detection function! 

Checking battery information now ! 
Battery status (LOW/OK): OK
Battery switch-over: ENABLED
Battery low detection: ENABLED
Checking completed ! 

*************END OF SYSTEM INITIALIZATION*************


************Rtc Demo Main Menu***************  
Please key in the selection and press enter: 
1: Check Time 2: Check Alarm 3: Configure Time
4: Set Alarm  5: Disable/Reset Alarm
Welcome to RTC Demo for Ti375C529

************START OF SYSTEM INITIALIZATION************

Checking CR information now ! 
RTC CR1 readback: 00000002
RTC CR2 readback: 00000000
RTC CR3 readback: 00000008

Enable battery switch-over!
Enable battery low detection function! 

Checking battery information now ! 
Battery status (LOW/OK): OK
Battery switch-over: ENABLED
Battery low detection: ENABLED
Checking completed ! 

*************END OF SYSTEM INITIALIZATION*************


************Rtc Demo Main Menu***************  
Please key in the selection and press enter: 
1: Check Time 2: Check Alarm 3: Configure Time
4: Set Alarm  5: Disable/Reset Alarm 
6: Change TimeSystem (12/24hrs)
7: Change Battery mode 
8: Check Battery information 
9: Soft Reset on RTC module 
*****************************************

Showing current time now...
2/5/2024 
Thursday,2nd May 2024
Current Time: 14:29:44