Iam using “rtc hw” command to update the Software clock from the Hardware real time clock.
I’m doing an rtc test as below.
Getting the time T1 from the Hw clock.
Getting the time T2 from the Hw clock.
but the difference(T2 - T1) seems to be more than 6(ideally should be 2) sometimes, when powering up after a long time in OFF state.
Can someone help me with this? Also at the failure instant the Delay function expires in 29 ms instead of 2s.