ESP32-WROOM-32D and ESP-PROG

User avatar
PaulVdBergh
Posts: 58
Joined: Fri Feb 23, 2018 4:45 pm
Location: Brasschaat, Belgium

ESP32-WROOM-32D and ESP-PROG

Postby PaulVdBergh » Sun Sep 08, 2019 3:12 pm

Hello All,

I'm developing a KiCad schematic and PCB layout that will be used as starting point for different modules. I'll use the ESP32-VROOM-32D module as processor and use an ESP_PROG device to programm/debug the software in the processor.

Does one of the connections (EN, IO0, etc) need a pull-up or anything so that the ESP32 will boot in normal mode when the ESP-PROG isn't connected? And how strong must be these pull-ups ?

Thanks in advance,

Paul

P.S. How can I include screendumps in a topic ? An image tells more than words ...
Last edited by PaulVdBergh on Mon Sep 09, 2019 12:26 pm, edited 1 time in total.

Panometric
Posts: 4
Joined: Sat Sep 07, 2019 8:09 am

Re: ESP32-VROOM-32D and ESP-PROG

Postby Panometric » Mon Sep 09, 2019 6:13 am

Paul,
Wish I could offer good advice, but you may notice allot of the recent posts on this forum, including mine are on the same subject. So this reply is just to say, be wary, this is not a simple subject as it should be.

Here is what I understand to be true. I hope someone will correct of I am wrong.
1. EN (also called CHIP_PU) does need to pulled up and filtered with a cap, values vary, see below.
2. Some examples I have seen also show IO0 also being pulled up with 5K. But this pin is normally pulled up weakly anyway.
3. The rest of the Strapping pins can be left open.
4. The two pins above should both have switches for manual downloading.
5. There is a special circuit on the eval boards using 2 NPNs that implements logic for DTR and RTS. These are both outputs, so many serial adapters do not support them both. But the module needs them to trigger automatic downloading. If you plan to use a platform like Zerynth, you have to implement the serial with automatic downloading, JTAG is not an option they support.

According to the data sheet, all the"Strapping Pins" need 1mS stability after EN is high. Then they become can other things. But my own experience says it's more complicated than this. My Rover module is getting these but will not auto program. It manually programs fine.

The official details are here:
See Section 2.3, 2.4
https://www.espressif.com/sites/default ... eet_en.pdf
Section 2.3 Here:
https://www.espressif.com/sites/default ... eet_en.pdf

Regarding the values, notice there has been evolution on this. The example board revisions show different setups. For example, DevkitcV2 has 12K PU on 1nF, DevkitC V4 has 10k into 100nF.

Good luck.

User avatar
PaulVdBergh
Posts: 58
Joined: Fri Feb 23, 2018 4:45 pm
Location: Brasschaat, Belgium

Re: ESP32-WROOM-32D and ESP-PROG

Postby PaulVdBergh » Mon Sep 09, 2019 1:05 pm

Hi Panometric,

Thanks for your explanations.

According to the schematics from the ESP-PROG device, there are pull-ups and caps to ground on both the EN and IO0 lines, but they are marked (NC), so they are AFAIK not mounted. Both the EN and IO0 pins are pulled up by a 10k resistor and a 1nF cap to ground. I think I must provide these circuits on my own board. I've attached my schematic, Is this correct or do I need corrections?
Basic configuration.jpg
Basic configuration.jpg (733.85 KiB) Viewed 214 times
Thanks,

Paul

Panometric
Posts: 4
Joined: Sat Sep 07, 2019 8:09 am

Re: ESP32-WROOM-32D and ESP-PROG

Postby Panometric » Mon Sep 09, 2019 5:29 pm

This looks good to me Paul. FYI, I found my issue, RTS and DTR are active low which is only clear on some schematics.

Who is online

Users browsing this forum: No registered users and 9 guests