aed3 / PS4-esp32

Use a ps4 controller with an esp32
328 stars 103 forks source link

Button Presses Cause ESP32 to Crash and Restart #39

Open Jaboop8 opened 2 years ago

Jaboop8 commented 2 years ago

After a couple of button presses my chip crashes giving this error and then restarts and I have to reconnect the controller. This might be a similar issue #9 . I see this error in the serial monitor:

Task watchdog got triggered. The following tasks did not reset the watchdog in time: E (140203) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: E (140203) task_wdt: - IDLE (CPU 0) E (140203) task_wdt: Tasks currently running: E (140203) task_wdt: CPU 0: btController E (140203) task_wdt: CPU 1: IDLE E (140203) task_wdt: Aborting.

abort() was called at PC 0x400da0e9 on core 0

The O button seems to crash the chip every time as well as trigger the routines for a charger and microphone being connected. Any ideas what would be causing these issues?

Thanks in Advance