Chat freely about anything...

User avatar
By bodzio_stawski
#90050 Hello! :)

Image

I have a question: this is a minimal circuit for ESP.

I would like to drive it by microcontroller. My question is:

1) RST and EN pins are connected by resistors to Vcc. If I want to connect it to STM32 (to STM32's GPIOs) should I still use the same 10k resistors (R2 and R3)?
2) Why GPIO16 must be connected to RST?
User avatar
By RichardS
#90051 You can leave those 2 resistors if you like, if you can guarantee +3.3V and GND with the other uC then you can remove them...

GPIO16 connects to RST so it can pull reset on itself. I think the watchdog can be configured to pull GPIO16.

RichardS
User avatar
By schufti
#90065 the connection between gpio16 and rst is necessary as workaround for a design flaw in deepsleep:
If a) you don't plan to use deepsleep - forget ist
b) plan to use deepsleep - don't use direct connection, use schottky diode with cat to gpio16
(explanation: during deesleep gpio16 is strong vcc so you would not be able to reset esp)
User avatar
By bodzio_stawski
#90101 Thank you for the replies:)

1) @RichardS Ok, so what is the real difference between setting binary 1 or binary 0 through 10k resistors or not, on RST and EN by voltage from Vcc or from microcontroller's own GPIOs? :)

2) The diode will be a great idea, thank you!:)