Page 1 of 1

Configuring the TWDT

Posted: Mon Apr 24, 2023 6:42 pm
by Jorgen
I am using the Espressif IDE.

How do I set/configure the Task watchdog timer?

In the documentation I have found that idf.py menuconfig is a possibility, but how/where do I write this? The Console and the Terminal windows do not accept any input from the keyboard. Do I need to install a tool?

I am writing to an 240x320 TFT display and that triggers the Task watchdog timer (TWDT), hence I would like to be able to reset the timer within the time consuming loop. An example of how to do this is most welcome.


Regards,
Jorgen

Re: Configuring the TWDT

Posted: Tue Apr 25, 2023 6:13 am
by ESP_bignacio
Take a look at the document in the [urlhttps://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/wdts.html#configuration]Interrupt watchdog documentation[/url]

And find the Interrupt watchdog in the SDK Configuration editor (using the plugin UI) or in the terminal using idf.py menuconfig

Re: Configuring the TWDT

Posted: Thu Apr 27, 2023 9:24 am
by Jorgen
Thanks,
I managed to find it by double clicking the sdkconfig file shown in the open project in Project Explorer along the left edge of my screen. That opens the editor of the file.

Regards,
Jorgen