- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
can you explain me how to use the watchdog timer. I know that the FX3 has a watchdog timer but I can't find a desciption how to use it.
Thanks for helping
Viktor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
on page 27 of the latest FX3APIGuide.pdf you can find the according informations and API's for using the watchdog.
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your response,
it works. The watchdog resets the device when it is not responsive. Now I have another problem. Where can I read out if a watchdog reset occured. I tried to read this information from register CY_U3P_PIB_PP_INIT but it is always 0x0C01 even if a watchdog reset occured.
Thanks for helping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will have implement your own mechanism to detect watchdog reset. This can be done by using uninitialized global flag or by storing a flag in SPI/I2C EEPROM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, it works.
Thanks