ESP32 Hangs
Posted: Tue Aug 26, 2025 2:31 pm
Hi everyone,
My ESP32 project includes SPI communication, BLE, Wi-Fi, a 16×2 LCD, and six buttons. When it’s connected to the master device, I get intermittent lockups; when I run it in the office, it works without any lockups. I’m using the ESP32DMASPISlave.h library for SPI, and SPI.transfer() is running in blocking mode. The project is built on FreeRTOS.
What could be causing these lockups? Any pointers on where to look or how to debug would be appreciated.
My ESP32 project includes SPI communication, BLE, Wi-Fi, a 16×2 LCD, and six buttons. When it’s connected to the master device, I get intermittent lockups; when I run it in the office, it works without any lockups. I’m using the ESP32DMASPISlave.h library for SPI, and SPI.transfer() is running in blocking mode. The project is built on FreeRTOS.
What could be causing these lockups? Any pointers on where to look or how to debug would be appreciated.