I cannot find out how to clear/trigger the watchdog (PSoC4200DS)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
user_4371246
Level 1
Level 1
First like received

Hi there,

I'm new with Cypress CPUs. And at the moment I'm very confused since I try to figure out

how I can clear/reset the WatchDog.

I want use it with it's main function: to reset the system if something "hangs"

Therefor I must clear the watchdog counter at special points in my code

Ii tis easy to configure it and the watchdog works fine. It resets the system at the determined time.

But I cannot figure out how I can clear the wdt.

I tried to use "CySysWdtResetCounters(CY_SYS_WDT_COUNTER0);" but this function is not declared.

So what function or way can I use to clear the WDT counter?

Marcus

0 Likes
3 Replies