1- is right.
WDT won't be reset and stopped if there is no command/hardware to reset/stop it. However, two unserviced WDT interrupts will lead to a system reset (i.e. at the third match). Suggest to clear the WDT interrupt in its interrupt handler.
Here is a KBA described details about how to use PSoC4000 WDT. FYI.
Thank you for your answer.
I've confirm the TRM P.74 and see that it's possible to disable the watchdog reset by writing a key '0xACED8865' to the WDT_DISABLE_KEY register
So, in case the software write '0xACED8865' to the WDT_DISABLE_KEY register while WDT_COUNTER is counting and not reached WDT_MATCH by the 3rd time (to generate a hardware reset), what will happen?
(should WDT_COUNTER be stopped and the program get stuck in the WDT_COUNTER routine without reset? )
I do not expect that the program/software going to stop WDT by any cases.
Hi Nam Son Tran,
In that case, wdt will free run, and system reset won't generate.