hi
I use of rx66n MCU with Deep Software Standby that periodically RTC wakeup for low power consumption reasons
in this case RTC Time become not accurate ( have about 4 minutes in a hour delay )
how i can solve this ?
Hello h@r,
Can you please provide more information about your issue?
1. What clock source do you use for the RTC?
2. Do you have the same issue with the inaccurate time when you don't go into the low-power mode or is it all right in this case?
Kind regards,
Sergey
If this response, or one provided by another user, answers your question, please verify the answer. Thank you!
Renesas Engineering Community Moderatorhttps://community.renesas.com/https://academy.renesas.com/https://en-support.renesas.com/knowledgeBase/
i use sub-clock with accurate 32.768 k xtall for clock source of rtc (code generated by smart configurator )
if not use low-power mode all thing about time is correct , it seems that entering to and exit from deep software standby is cause of this issue
For now the only thing I can think of is the adjustment of the RTC clock. Have you enabled it? If yes, in automatic or in software mode? The automatic adjustment seems to use the main clock which is unavailable in the deep standby mode.
You need to set the CWSF (cold start/warm start) SYSTEM.RSTSR1.BIT.CWSF. In RTC driver, if it is a cold start, it will clear counter and start again. You lose time each time counter is reset.