RTC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RTC

741 Views
Naresh_
Contributor II

Hi, I have been trying to run RTC in mimxrt1060 controller with the help of coin cell battery. The aim is to continue the RTC counter value during the power cycle and for this the coin cell battery is connected to J6 in mimxrt1060 development board.
The problem that is present is once the power is removed then the clock is also getting reset.

How to solve this issue??

Tags (1)
0 Kudos
1 Reply

728 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi Naresh,

Please make sure you are using SDK snvs_lp_srtc driver example code to enable SRTC, the difference between LP and HP RTC is that LP will keep working in snvs mode, and HP RTC will power off in SNVS mode, accessing HP SRTC register is faster than LP.

Have a great day,

Felipe

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time. 

------------------------------------------------------------------------------