BRT Community

General Category => Discussion - MCU => Topic started by: harira on July 07, 2020, 09:55:27 AM

Title: FT900 Watchdog no reset
Post by: harira on July 07, 2020, 09:55:27 AM
Hi,
i am trying to implement the watchdog on a ft900.
It is correctly intialized with wdt_init (wdt_counter_1G_clocks);
To test the function i am not resetting the timer with wdt_kick ();
I would expect the controller to reset itself after 10 seconds. But nothing happens.
The mainloop continues to run without reset.

Did i miss something or is there something else to be initialized?

Christian
Title: Re: FT900 Watchdog no reset
Post by: BRT Community on July 08, 2020, 05:15:59 PM
Hello,

Please refer to our watchdog example as part of AN_360 FT9xx Example Applications (https://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/MCU/AN-360-FT9xx-Example-Applications.pdf).

Full source code is provided to allow you to see the watchdog in operation.

This can be found at the following location as part of the FT9xx Toolchain (http://brtchip.com/ft9xx-toolchain/).

C:\Users\Username\Documents\Bridgetek\FT9xx\2.5.0\Examples\Watchdog Example 1

You can also refer to AN_365 FT9xx API Programmers Manual (https://brtchip.com/wp-content/uploads/Support/Documentation/Programming_Guides/ICs/MCU/AN_365-FT9xx-API-Programmers-Manual.pdf) for more information on the watchdog API functions.

Best Regards,
BRT Community
Title: Re: FT900 Watchdog no reset
Post by: harira on July 31, 2020, 01:08:34 PM
Thank you!
That helped me out.
With the example i got it working.