2023-09-21 09:52 PM
I'm looking to create a test case to verify that the handling of the interrupt generated by RTC SSRU is working correctly.
In the LoRaWAN code base, the SSR time is set up such that the underflow will happen after about 48.5 days.
There doesn't seem to be any way to directly manipulate the sub second register, so apart from leaving a device running for 7 weeks, is there any other way to verify that the code is working as intended?
Ideally, I'd like to set the SSR to something like 10-seconds to go (1024*10) and then watch it do its thing.
Any hacks to do this? Can the SSR be set externally via the debugger?