- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
I am using PSOC4 (CY8C4247LQI-BL483), i am using internal rtc, RTC_SetDateAndTime(dateTime[0],dateTime[1]); RTC_GetDateAndTime(&dateTimeStruct), with 12 hours format
The time is updating but the am and pm does not update (eg it won't switch from 11:59AM to 12:00PM, the rtc will update to 12:00PM). Hence the date and the month is not incrementing/ changing.
Need some help with the same.
Cheers
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I dug my old RTC Alarm Project for CY8CKIT-044
and removed Alarm function
and set starting time to 2019/06/28 11:59:50 AM.
I used RTC_GetAmPm() to decide if it's AM or PM.
The serial output log was
The good news is that Yes, we get "PM",
but the bad news is PM comes after 2 seconds ! (I wonder why?)
Anyway, just for your information 😉
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I dug my old RTC Alarm Project for CY8CKIT-044
and removed Alarm function
and set starting time to 2019/06/28 11:59:50 AM.
I used RTC_GetAmPm() to decide if it's AM or PM.
The serial output log was
The good news is that Yes, we get "PM",
but the bad news is PM comes after 2 seconds ! (I wonder why?)
Anyway, just for your information 😉
moto