Hi there,
We had a setup that runs the RTC with the LFXO.
Tampering with the XL1 and XL2 signals allowed to increase/decrease the clock speed. This wouldn't be so bad.
Unfortunately, the LFXO can also be fully stopped, which then "paused" the watchdog and RTC peripheral. Also the SoftDevice is "paused" depending on the executed BLE functionality. As soon as the LFXO is released, the peripherals and SoftDevice continue as nothing happened.
As long as the nRF is running, the LFXO clock could be verified with the RTC counter value and using the HFXO and a TIMER as a reference.
Once entering system on low power mode, this is no longer possible. If the nRF is configured to wakeup on a RTC event, this could be "paused" and postponed to be triggered at a later point in time.
Is it possible to detect such tampering? Or is the nRF expected to just continue running?
If tampering on the LFXO can't be detected, is there a possible way to improve the LFRC tolerance?
For example by using a more accurate 32MHz crystal?
Which factors lead to the max. ±500ppm tolerance of the LFRC?
Thank you in advance!
Regards,
Pascal