Issue with ESP32 Watchdog and Multitask

haythemjls
Posts: 29
Joined: Mon Apr 06, 2020 1:32 pm

Issue with ESP32 Watchdog and Multitask

Postby haythemjls » Thu Feb 27, 2025 12:58 pm

Hello,

I am experiencing a watchdog issue with the ESP32 (ESP32-WROOM-32) when using RS485 communication in a multitasking environment. The ESP32 is soldered onto a custom PCB and communicates with multiple peripherals:

NFC reader via SPI
Capacitive keyboard via I²C
Other ESP32-based boards via RS485
The communication is managed using FreeRTOS tasks, but after some time, the ESP32 freezes (watchdog does not trigger). However, pressing the reset button manually allows the system to recover.

Any help pls, how to solve this problem?

Who is online

Users browsing this forum: No registered users and 0 guests