Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > How to use Watchdog timer

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



How to use Watchdog timer
Moderator:
RSKV

Post Reply
Follow this topic



How to use Watchdog timer

v.hildebrand posted on 05 Jun 2012 6:50 AM PST
Member
4 Forum Posts

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




Re: How to use Watchdog timer

RobK posted on 06 Jun 2012 10:26 PM PST
Top Contributor
56 Forum Posts

Hi,

on page 27 of the latest FX3APIGuide.pdf you can find the according informations and API's for using the watchdog.

Regards!



Re: How to use Watchdog timer

v.hildebrand posted on 06 Jun 2012 02:14 AM PST
Member
4 Forum Posts

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



Re: How to use Watchdog timer

dbir posted on 07 Jun 2012 12:01 AM PST
Cypress Employee
26 Forum Posts

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.



Re: How to use Watchdog timer

v.hildebrand posted on 11 Jun 2012 11:27 PM PST
Member
4 Forum Posts

OK, it works.

Thanks






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.