ESP32 -- RTS & DTR with Transistor Network
Posted: Fri Oct 06, 2017 6:55 pm
Hi,
I'm laying out the ESP32, and I'm getting a grip on laying out the serial connection using the ESPTool.py.
I understand you are using the RTS and DTR pins to toggle EN and GPIO0 on the ESP32 to flip it to the bootloader to flash an image.
I'm not super familiar with RS-232 protocol, and bit banging serial bits -- I understand TTL though.
I saw a sub-note about some additional hardware being added to ensure some kind of condition where the chip doesn't reset correctly if RTS and DTR occur at the same time ("hardware control flow"). I'm assuming that's kind of a standard handshake for RS-232 or something.
We are (of course...) building out the cheapest possible product using the ESP32. If we use the ESP loading tools, do we need to build out that little transistor network that can be found at ESP-WROVER-KIT_SCH-3.pdf?
(I saw an earlier version of that network in the Sparkfun ESP32 "The Thing" schematic, as a clue...).
I haven't worked out the exact logic flow, but I see you guys also added a transistor going to GPIO2 in a later revision... should we be putting in those transistors to ensure reliable loading even when using the ESPTool.py?
Thanks,
-Tim
I'm laying out the ESP32, and I'm getting a grip on laying out the serial connection using the ESPTool.py.
I understand you are using the RTS and DTR pins to toggle EN and GPIO0 on the ESP32 to flip it to the bootloader to flash an image.
I'm not super familiar with RS-232 protocol, and bit banging serial bits -- I understand TTL though.
I saw a sub-note about some additional hardware being added to ensure some kind of condition where the chip doesn't reset correctly if RTS and DTR occur at the same time ("hardware control flow"). I'm assuming that's kind of a standard handshake for RS-232 or something.
We are (of course...) building out the cheapest possible product using the ESP32. If we use the ESP loading tools, do we need to build out that little transistor network that can be found at ESP-WROVER-KIT_SCH-3.pdf?
(I saw an earlier version of that network in the Sparkfun ESP32 "The Thing" schematic, as a clue...).
I haven't worked out the exact logic flow, but I see you guys also added a transistor going to GPIO2 in a later revision... should we be putting in those transistors to ensure reliable loading even when using the ESPTool.py?
Thanks,
-Tim