Hello,
I am using an IMX6UL processor.
I am trying to set up an RTC which I can use during the power cycles to find how long the power was off.
At present, I am using SNVS_HP RTC, which is working fine when the power is ON.
Once the power cycle occurs the value of the RTC gets reset and it starts from zero again.
I have read the datasheet and I saw we can use SNVS_HP and SNVS_LP.
But, I did not understand the difference between them, I have few questions can any please answer and help me to understand.
Difference between SNVS_HP and SNVS_LP and SNVS_LP_MC?
Will SNVS_HP will be active after power off for few seconds based on the power supply of battery cell?
Can I use SNVS_HP during the power cycle for finding the power-off time?
I have seen some of the examples in other imx processors where SNVS_LP is used during power loss, but the datasheet does not give information on this, it does not give information on whether we can use SNVS LP as normal RTC during power cycles?.
The datasheet gives only information SNVS_LP_MC registers. Seeing this I get doubt whether im6ul supports normal SNVS_LP or not.
So, can we use SNVS_LP as normal RTC not as SNVS_LP_MC during the power cycle?
As there is no direct register to use SNVS_LP as normal RTC, can we acesse SNVS_LP using SNVS_HP during the power cycle?
Thank you.