Configuring the TWDT

Jorgen
Posts: 51
Joined: Fri Dec 09, 2022 11:39 am

Configuring the TWDT

Postby Jorgen » Mon Apr 24, 2023 6:42 pm

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

ESP_bignacio
Posts: 229
Joined: Wed May 02, 2018 12:12 pm

Re: Configuring the TWDT

Postby ESP_bignacio » Tue Apr 25, 2023 6:13 am

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

Jorgen
Posts: 51
Joined: Fri Dec 09, 2022 11:39 am

Re: Configuring the TWDT

Postby Jorgen » Thu Apr 27, 2023 9:24 am

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

Who is online

Users browsing this forum: No registered users and 56 guests