Page 1 of 1

integrating the ESP32 into my own PCB

Posted: Fri Mar 09, 2018 1:50 pm
by BoKKeR
Hey, I went have a little trouble integrating the esp32 into my circuit. I used this setup: [img]https://cdn.instructables.com/FOU/1WS0/ ... .LARGE.jpg
[/img]

I managed to flash the device but I am ending up with this on the serial interface:

Code: Select all

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:4332
load:0x40078000,len:0
load:0x40078000,len:10992
entry 0x4007a6c4
I (344) cpu_start: Pro cpu up.
I (344) cpu_start: Single core mode
I (345) heap_init: Initializing. RAM available for dynamic allocation:
I (348) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (354) heap_init: At 3FFDCD68 len 00003298 (12 KiB): DRAM
I (360) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (367) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (373) heap_init: At 4008FC7C len 00010384 (64 KiB): IRAM
I (379) cpu_start: Pro cpu start user code
I (173) cpu_start: Starting scheduler on PRO CPU.

Brownout detector was triggered

Guru Meditation Error of type IllegalInstruction occurred on core  0. Exception was unhandled.


Is the reason because the power is not sufficient or just not stable? how do I fix this?

Re: integrating the ESP32 into my own PCB

Posted: Sat Mar 10, 2018 2:19 am
by ESP_Sprite
Yes. Make sure your 3.3V power supply is capable of at least 500mA output. (The 3.3V output of some USB-to-serial converters won't cut it.)

Re: integrating the ESP32 into my own PCB

Posted: Sat Mar 10, 2018 1:52 pm
by BoKKeR
is it the only cause? I have tried to power the circuit from a 2A power supply and it still shows the same. The width of the traces is 30 or full copper plate at parts. GND traces are 20.

Re: integrating the ESP32 into my own PCB

Posted: Thu Mar 22, 2018 5:52 pm
by BoKKeR
I can power it from a bench supply without a problem. What kind of step-down circuit is recommended so the unit can be powered from a USB? And what capacitance should be capacitors next to the power pin ?

Re: integrating the ESP32 into my own PCB

Posted: Thu Mar 22, 2018 8:29 pm
by Hexman64
On my ESP32's board, an AMS1117 is installed. It's current limit is typ. 1100mA when Vin-Vout=1.5V.
The biggest SMD capacitor reads "J107", but I could not measure or find out its value.