- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Group Members,
I am using CY8C4014SXI-421 IC for my Touch Application. Sometimes my button is getting hang. After removing the PCB connector and connecting again IC is working. So I want to implement Watchdog Timer in my Application. IC should restart after several seconds (2 seconds for example). Help me regarding Watchdog Timer implementation.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @ApPo_1339236
As per my understanding of the issue, you need to generate a watchdog reset after a certain amount of time (2 secs for example) in case the PSoC hangs.
To begin with, you can go through the following code example: https://www.cypress.com/documentation/code-examples/ce210292-psoc-4s-watchdog-timer that shows how WDT can be configured to be used as a system reset counter.
For PSoC 4 devices, the Watchdog Timer (WDT) APIs have been moved into separate files
(CyLFClk.h/CyLFClk.c) which are a part of the generated source in PSoC Creator.
Let me know if you want any further clarifications.
Best Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @ApPo_1339236
As per my understanding of the issue, you need to generate a watchdog reset after a certain amount of time (2 secs for example) in case the PSoC hangs.
To begin with, you can go through the following code example: https://www.cypress.com/documentation/code-examples/ce210292-psoc-4s-watchdog-timer that shows how WDT can be configured to be used as a system reset counter.
For PSoC 4 devices, the Watchdog Timer (WDT) APIs have been moved into separate files
(CyLFClk.h/CyLFClk.c) which are a part of the generated source in PSoC Creator.
Let me know if you want any further clarifications.
Best Regards
Ekta