Stopping the watchdog

nRF54LM20A | nRF54LM20B Datasheet

By default, the watchdog cannot be stopped. It is possible to configure the watchdog to allow the STOP task.

To stop the watchdog, perform the following steps.
  1. Set the CONFIG register's STOPEN field to Enable during watchdog configuration.
  2. Write the special value 0x6E524635 to the TSEN register.
  3. Invoke the STOP task.
When these conditions are met, the watchdog is stopped and a STOPPED event is issued.

When the watchdog is stopped, its configuration registers CRV, RREN, and CONFIG are no longer blocked.

Note: It is recommended to write zeros to TSEN after the watchdog has stopped, to avoid runaway code triggering the STOP task.