Hi
We have a board of I.MX6sx which running Linux. We use the internal snvs rtc.
We find that when the board power off, the rtc value can't keep, it becomes zero.We add the log in rtc read and write function in rtc-snvs.c. We set the date using linux command date -s "2020-03-25";hwclock -w
Here is the boot kernel log after shutdown the power.
......
read lp_cnt is 0
read lp_cnt is 0
snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
......
read lp_cnt is 0
snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
We measure the vdd-snvs-in which connect the button battery, it keeps the voltage 2.7v during power off.
We don't know why the imx6sx internal snvs-rtc can't keep the count value, Can you help give us some advice?
Hello,
I've sent You some comments via e-mail.
Have a great day,
Yuri
-------------------------------------------------------------------------------
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.