psoc 5lp rtc component question

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
user_3716231
Level 4
Level 4
25 sign-ins 10 sign-ins 5 sign-ins

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

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.

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.

View solution in original post

0 Likes
3 Replies
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello Sean,

Can you please share your project ?

Thanks,

P Yugandhar.

0 Likes
lock attach
Attachments are accessible only for community members.

here it is.

0 Likes
lock attach
Attachments are accessible only for community members.

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.

0 Likes