Part Number: CC2640R2F
Hi,
I'm configuring the watchdog to reset my device after the desired timeout. From reading the reference manual (rev. H), I can see that the PRCM:WARMRESET register will indicate whether the watchdog timeout or CPU lockup have occurred. I can also see that TI strongly recommend to upgrade the warm reset triggered by the watchdog into a pin reset, using the WR_TO_PINRESET field.
I have a basic project set up to test this which involves writing the reset source and warm reset registers to flash for later inspection. If I don't set WR_TO_PINRESET, nothing gets into flash so I'm led to assume that the device isn't properly being reset. Now I understand why TI recommend setting this bit.
If I set WR_TO_PINRESET to 1, I get my flash entries so the reset must be working. However, the WARMRESET register value is always 0.
How can I detect whether it was the watchdog or the lockup that caused the warm reset?
Thanks,
Hester