Author Topic: ESP32 Restarting  (Read 3047 times)

0 Members and 1 Guest are viewing this topic.

Offline amintegiaTopic starter

  • Contributor
  • Posts: 12
  • Country: es
    • https://www.atelei.com/
ESP32 Restarting
« on: September 15, 2023, 07:21:39 am »
Hello everyone,

We see that there are problems with our microcontroller, an ESP323-S3, power supply. The module starts correctly from 4.2V to 3.3V. However, when the voltage drops from this value, the microcontroller gives a "brownout" error which indicates that the supply current is not sufficient.

The input voltage goes first through a BOOST (https://www.mouser.es/datasheet/2/277/MP3120-2945726.pdf) to 5V and then through a LDO (https://www.mouser.es/datasheet/2/389/ld1117-1849389.pdf) to 3.3V as you can see in the attached image.

We believe that this problem could be due to the start of some bluetooth process of the microcontroller which requires a higher current peak than normal. Although in principle this should not create any problem since both the BOOST and the LDO are capable of supplying values above 300 mA.

 

Offline Shonky

  • Frequent Contributor
  • **
  • Posts: 291
  • Country: au
Re: ESP32 Restarting
« Reply #1 on: September 15, 2023, 07:30:31 am »
Is that the real schematic used to create a PCB design? There are a number issues with it as drawn.

What is ESP_BUS supplied from?

Got a scope? Put the supply rail on the scope.
 
The following users thanked this post: amintegia

Offline Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3559
  • Country: nl
Re: ESP32 Restarting
« Reply #2 on: September 15, 2023, 08:11:36 am »
Those radios can be very power hungry. If you do a search for peak current for ESP32, then you find suggestions that it may be over 700mA. So I suggest you start by actually measuring what your peak currents are.
 
The following users thanked this post: amintegia

Offline amintegiaTopic starter

  • Contributor
  • Posts: 12
  • Country: es
    • https://www.atelei.com/
Re: ESP32 Restarting
« Reply #3 on: September 15, 2023, 09:59:22 am »
Hi Shonky, thanks for your reply.

This is just a small part of a series of schematic sheets. ESP_BUS is powered from a USB connection, passed through the MP3120 and regulated by the LDO.

Secondly, we have already measured the voltages on the ESP32 power pin. We saw 3.3 V are regulated correctly over a 4 ms time period from 0 V.
 

Offline amintegiaTopic starter

  • Contributor
  • Posts: 12
  • Country: es
    • https://www.atelei.com/
Re: ESP32 Restarting
« Reply #4 on: September 15, 2023, 10:02:19 am »
Those radios can be very power hungry. If you do a search for peak current for ESP32, then you find suggestions that it may be over 700mA. So I suggest you start by actually measuring what your peak currents are.

Hello Doctorandus, thank you for your answer.

Probably that is the origin of the problem, we will try to measure that current and I will comment you the results.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf