ESP32-DevKitC-32UE Intermittent Boot Failure
Posted: Sun Feb 11, 2024 8:00 pm
Group,
I have a ESP32-DevKitC-32UE mounted to a custom PCB as the controller module. The core is powered by +5V regulated to the 5V pin and GND. The PCB runs at 5V logic and I have a TXB0104 and TXS0104 chips for 5v/3.3v interface.
The system also uses SPI and I2C. Both of these are buffered via the the TXB/TXS chips above. No pullups on SPI. I2C uses 2.4K pullups on the 3.3V side.
On one hardware application, the module fails to boot and initialize. Pressing the BOOT switch causes the 32UE to run successfully. Removing the module from the installed equipment and placing on a test bench removes the error and it always boots and runs. The board has 24 inputs connected to 3 (three) MCP23017 IO expanders via 27K pullups. Connecting or disconnecting a single input may also remove the error and the system will boot (when installed). This has no effect on the test bench.
Also changing to a new 32UE module may or may not remove the error.
Custom board power requirement when running are ~55ma at 12 VDC. The 5V regulated comes from a RECOM DC/DC module. Supplies 5V regulated @ 500ma, which should be sufficient power.
I cannot watch the debug messages via serial as plugging in the USB cable always removes the boot failure.
Programming via Visual Micro/Visual Studio 2019.
All of the following pins are NC. I assume that PU/PD exists in the module.
MTDI
GPIO0
GPIO2
MTDO
GPIO5
---
I am missing something simple and obvious. It reminds me of a floating pin, that is intermittent. Changing the physical environment changes the behavior.
Thanks David
I have a ESP32-DevKitC-32UE mounted to a custom PCB as the controller module. The core is powered by +5V regulated to the 5V pin and GND. The PCB runs at 5V logic and I have a TXB0104 and TXS0104 chips for 5v/3.3v interface.
The system also uses SPI and I2C. Both of these are buffered via the the TXB/TXS chips above. No pullups on SPI. I2C uses 2.4K pullups on the 3.3V side.
On one hardware application, the module fails to boot and initialize. Pressing the BOOT switch causes the 32UE to run successfully. Removing the module from the installed equipment and placing on a test bench removes the error and it always boots and runs. The board has 24 inputs connected to 3 (three) MCP23017 IO expanders via 27K pullups. Connecting or disconnecting a single input may also remove the error and the system will boot (when installed). This has no effect on the test bench.
Also changing to a new 32UE module may or may not remove the error.
Custom board power requirement when running are ~55ma at 12 VDC. The 5V regulated comes from a RECOM DC/DC module. Supplies 5V regulated @ 500ma, which should be sufficient power.
I cannot watch the debug messages via serial as plugging in the USB cable always removes the boot failure.
Programming via Visual Micro/Visual Studio 2019.
All of the following pins are NC. I assume that PU/PD exists in the module.
MTDI
GPIO0
GPIO2
MTDO
GPIO5
---
I am missing something simple and obvious. It reminds me of a floating pin, that is intermittent. Changing the physical environment changes the behavior.
Thanks David