Francesco Rizzo

Watchdog Reset Count register

Discussion created by Francesco Rizzo on May 18, 2016
Latest reply on May 18, 2016 by Francesco Rizzo

Hi everyone,


I'm working on a MK70FN1M0VMJ15.


I correctly use the watchdog registers in order to monitor, reset and keep track of watchdog reset Issue.

I'm using the WDOG_RSTCNT register (4005_2014h) in order to check how many times my target resets due to watchdog.


I saw that this counter reset when a POR (Power On Reset) occurs (I turn-off and then turn-on my board), but I need a way to reset this register also in some particular circumstance.


I read from Datasheet (page 641):


Counts the number of times the watchdog resets the system. This register is reset only on a POR. Writing 1 to the bit to be cleared enables you to clear the contents of this register.


I didn't understand the last sentence. What's the meaning of "writing 1 to the bit to be cleared" ?

My question is:

Can I reset this register? If yes, how?


Best regards,