You can refer to WDT Example Projects (File -> Code Example -> PSoC 4200 BLE -> Watchdog_PSoC4_Example and WDT_P4_Example) to see how WDT can be configured for Reset. You need to clear the interrupt before the timeout occurs to prevent WDT from resetting the device.
Before I wrote this comment, I tried to figure out where to configure the reset time and how to use just the WDT-reset without any interrupt. But both of these examples use a WDT_isr (why?) and it's not clear where I can configure my reset time. I'm searching for:
1. WDT enable function
2. WDT refresh function
3. WDT configure function for reset time
Do I really need to configure an isr to use the WDT??
1 of 1 people found this helpful
Hi! Take a look at the cy_lfclk datasheet. You can open this easily within PSoC Creator: In the workspace explorer, click on the tab "Datasheets" and you'll find it under "System Reference Guides" :)
Thanks, I solved the problem right now!