logo elektroda
logo elektroda
X
logo elektroda

ESP32 boots only after manual reset, not on power-up—possible causes and solutions?

MikolajMis 384 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21335389
    MikolajMis
    Level 2  
    Hi,
    I have a module that consists of two boards - one board contains the procec (ESP32), expanders, 230VAC / 5 VDC inverter (IRM-10-5), 3.3V stabiliser and the other is a board with LEDs, 4x20 LCD and microswitches.

    Overall, this is the third version of the prototype, the previous two worked without problems, while in this version I have a problem in that after powering up the module does not start - the display backlight is on and the ESP is as if in a reset state - no inputs and outputs work. However, when the RESET button is pressed, the ESP32 starts up and the module works as it should.
    I should add that I've already tried powering the device from a lab power supply, but it doesn't change anything - when powered, the ESP32 doesn't boot.
    But powering the ESP from the USB, the whole thing starts right up.

    I have no idea where the problem is anymore - I thought it was an inverter issue, but it looks like not.

    Please help.

    Circuit schematic with ESP32 module and power supply. .
  • ADVERTISEMENT
  • Helpful post
    #2 21335506
    tomekptk
    Level 19  
    I am betting on the power supply, however. You used 1000uF capacitors on the outputs of the 3.3V and 5V stabilisers. Isn't that an exaggeration? I would reduce them. I've had problems with ESP32 - hangs and reboots were usually caused by incorrect power supply (power supply, contacts etc). I would check, for example, with an oscilloscope at 3.3V what happens when the power supply is switched on.
  • ADVERTISEMENT
  • #3 21335522
    MikolajMis
    Level 2  
    Now I found such a passage in the documentation where they write about ENABLE delay:
    Peripheral schematic of the ESP32 module showing components such as power supply, reset button, JTAG interface, and UART interface. .
  • ADVERTISEMENT
  • Helpful post
    #4 21335533
    tomekptk
    Level 19  
    These large capacitors (in my opinion they should be no larger than 100uF) can flatten the power supply voltage rise and interfere with the boot sequence of the processor including the EN signal. That's why everything works after a switch-on and manual reset or from USB, where there is no such flattening.
  • ADVERTISEMENT
  • Helpful post
    #5 21335715
    michal.zd
    Level 28  
    You additionally have a uart-usb converter circuit. When powering the board from the power supply, is this converter also powered?
    Because if it works for you via usb, rather the capacitors are also the same and the circuit starts. Maybe the converter is holding some boot/en pin in the wrong state. If you have the possibility to cut these two lines....
  • #6 21335728
    MikolajMis
    Level 2  
    I think I've managed to grasp the subject. I still soldered a 22uF capacitor to the EN pin as they suggested in the documentation - it looks like everything is working as it should. But I'll still be testing at the weekend to make sure.

    Thanks for your involvement!
ADVERTISEMENT