Hi igor,
Thanks for the response, sorry for not being clear here, I am not the one to write program to read RTC/SRTC value, it is Linux kernel process, I am also talking about iMX6ULZ, please refer to the following link about the issue:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cd7f3a249dbed2858e6c2f...
I was advised to disable tamper with the TAMPER_PIN_DISABLE fuse bits as if it isn't pulling the pins low probably appears as a tamper event. But according to above kernel discretion that the iMX7d can be configured to stop the SRTC on a tamper event, it seems to me that iMX6 won't be able to configured to stop the SRTC on a tamper event, right? If that is correct, disabling tamper event won't be a solution in iMX6, what will be a right solution for iMX6ULZ? Correct me if I am wrong about it.
Thank you very much.
Kind regards,
jupiter