Hello,
I am trying to figure out an issue that is happening in my project. I am using the NRF52840 chip and I configured the WDT correctly with WDT-> CRV = 10 * 32768 (the criteria for reset is 10 seconds).
I made a special HW that allows me to simulate an RTC interrupt which will cause the CPU to restart. In my project, I am resetting the WDT every 3 seconds and my question is if the following scenario could be possible.
Assuming my project is running properly and the last reset of the WDT was 2 seconds ago. At this time I simulate an RTC interrupt and the CPU is restarting. Will the WDT would be reset or after the restart, the countdown will accumulate the 2 seconds that have passed since the RTC INT (before I reach the point which I am initializing the WDT)?
Also, I am struggling to print the current countdown value of the WDT, I read the documentation but I couldn't get to the current value yet. Is there a way to print it?
I hope my question was clear.