- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
i have a technical question about RTC component in CY8CKIT-059.2020 is the leap year and i set time to 2019/12/31,23:59:55.when it runs to 2020/1/1,0:0:0,the bit RTC_STATUS_LY which is contained in status register will go high when the current year is a leap year,but when i set time to 2020/2/28,23:59:55 and let it run,not only the bit RTC_STATUS_LY won't go high but also the date isn't 2020/2/29.
sean
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sean,
The project which you sent was not opening at my end. I checked one of the PSoC Creator example project(RtcDesign) with time set value 2020/2/28,23:59:55 and after five seconds the date was changing to 2020/2/29 with Leap year status to high as shown in attached image.
Please check the "RtcDesign" code example in the PSoC Creator for more information.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sean,
Can you please share your project ?
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sean,
The project which you sent was not opening at my end. I checked one of the PSoC Creator example project(RtcDesign) with time set value 2020/2/28,23:59:55 and after five seconds the date was changing to 2020/2/29 with Leap year status to high as shown in attached image.
Please check the "RtcDesign" code example in the PSoC Creator for more information.
Thanks,
P Yugandhar.