Pin confusion on ESP32-MINI-1 Module
Posted: Wed Feb 22, 2023 4:25 pm
We've ordered the ESP32-MINI-1 Module (not the development board, just the module), and I am very confused about which UART port is connected to which pins.
The datasheet shows:
U0RXD (GPIO3) on pin 35
U0TXD (GPIO1) on pin 36
U0CTS on pin 32
U0RTS on pin 33
U1RXD on pin 25
U1TXD on pin 26
The ESP32 AT User Guide says "All ESP32 modules use GPIO1 and GPIO3 as UART0"
It says also, "UART0 is used to download firmware and log output"
QUESTION #1: I understand that CTS and RTS are used with the AT commands, which is UART1, but then why are they called U0CTS and U0RTS ?
QUESTION #2: Do I use the flash_download_tool with pins 35/36 or pins 25/26 ?
To add to the confusion, the ESP32 AT User Guide says under section "Hardware Differences", that for MINI-1 Bin:
TX is pin 22
RX is pin 19
CTS is pin 15
RTS is pin 14
Question #3: Are these the pins for UART1 if I flash factory_MINI-1.bin onto the module?
And if so, Question #4: Why do they differ from the datasheet?
Rob
The datasheet shows:
U0RXD (GPIO3) on pin 35
U0TXD (GPIO1) on pin 36
U0CTS on pin 32
U0RTS on pin 33
U1RXD on pin 25
U1TXD on pin 26
The ESP32 AT User Guide says "All ESP32 modules use GPIO1 and GPIO3 as UART0"
It says also, "UART0 is used to download firmware and log output"
QUESTION #1: I understand that CTS and RTS are used with the AT commands, which is UART1, but then why are they called U0CTS and U0RTS ?
QUESTION #2: Do I use the flash_download_tool with pins 35/36 or pins 25/26 ?
To add to the confusion, the ESP32 AT User Guide says under section "Hardware Differences", that for MINI-1 Bin:
TX is pin 22
RX is pin 19
CTS is pin 15
RTS is pin 14
Question #3: Are these the pins for UART1 if I flash factory_MINI-1.bin onto the module?
And if so, Question #4: Why do they differ from the datasheet?
Rob