Postby esp_zag0 » Sun Jul 24, 2022 4:04 pm
Sorry for bumping into an old topic but I have a question that follows along what op & others have discussed couple of years back.
I'd like to use UART wakeup function for communication with an AT command modem. As far as I understood I can't use UART2 at all and UART1 has some limitations (IO9 and IO10 are used for flash so I have to use DIO/DOUT mode instead of QIO/QOUT). This only leaves UART0.
Since UART0 is used for console output I first have to remap it to UART1 with CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_1 (eg. IO17 and IO16, which I currently use for communication with the modem) and connect the modem to IO1 and IO3.
Does remapping console output to some random IOs and calling it UART1 also uses that pins for flashing the firmware onto ESP32? Are there any limitations compared to 'normal operation', ie. using default GPIOs and UART0?
This is my current GPIO/UART setup:
UART0 (IO1, IO3): console output
UART1 (IO25, IO26): communication with another MCU
UART2 (IO17, IO16): communication with radio modem
Thanks!