Olimex Support Forum

Microcontrollers => ESP32 => Topic started by: wiseman on November 07, 2023, 08:12:53 PM

Title: ESP Prog - ESP32 C3 Mini
Post by: wiseman on November 07, 2023, 08:12:53 PM
Hello,

Sorry another question about the ESP Prog when used with an ESP32 C3 Mini.

In the instructions it says to join GPIO0 and GPIO2 to DCOM. For this ESP32 model would it be GPIO8 and GPIO9 instead?

I was going to use a jumper to join them together when wanting to flash the chip.

The design is open source for anyway to view here - https://www.flux.ai/wiseman/internet-radio-v2?editor=schematic

Thanks!

Title: Re: ESP Prog - ESP32 C3 Mini
Post by: LubOlimex on November 08, 2023, 11:37:42 AM
In ESP32 GPIO and GPIO2 are strap pins used for either booting in SPI execute mode or download mode.

I can see from the documentation of ESP32-C3 (esp32-c-mini datasheet page 12 table 4 https://www.espressif.com/sites/default/files/documentation/esp32-c3-mini-1_datasheet_en.pdf; and also page 25 of the ESP32-C3 series datasheet here: https://www.espressif.com/sites/default/files/documentation/esp32-c3_datasheet_en.pdf) - that in ESP32-C3 the pins are GPIO8 and GPIO9, but also GPIO2 has to be pulled up.
Title: Re: ESP Prog - ESP32 C3 Mini
Post by: wiseman on November 08, 2023, 12:21:05 PM
Brilliant thank you  :)

I am fairly new at this so the schematic should be as I described with 8+9 going to DCOM, which is good news.

The pull up on GPIO2 - I assume this is something I need to handle as the 6 pins on the ESP prog are taken up with other tasks. Guessing another jumper/switch etc that connects the pull up resistor to the IO.