Why Can’t I see Watchdog Reset in RSTC? (SAMV71)

1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have written code to determine the cause of a Reset on a SAMV71. The RSTC Status Register contains a code that can tell me if the CPU reset was caused by General Reset (powerup?). Watchdog Reset, Software Reset, Or USER RST which is NRST pin pulled low (Hardware Reset).


I can detect General Reset, Software Reset and Hardware Reset. However, a Watchdog Reset gives me the same code as Hardware Reset (USER_RST).

I have the following code to generate a Watchdog Reset.




This code does reset my processor. However, the RSTC Status register still says USER_RST not WDT_RST.

Can anyone tell me why?