UART & pins typically used by USB bridge?
Posted: Fri Nov 15, 2019 8:51 am
I have a HiLetGo Wemos Lolin32 clone with SSD1306 OLED whose pinout is exactly like this one:
From the silkscreened legend on the board, it's obvious that they're associating UART0 with the pins mapped to GPIO1 and GPIO3.
As I understand it, any of the 4 UART functions (TX, RX, CTS, RTS) for any of the 3 UARTs can be mapped to (almost) any pin (though I believe the pins identified as SVP/GPIO36, SVN/GPIO39, GPIO0, GPIO2, and GPIO12 are off-limits for UART use).
That said... which UART is typically bound to the UART-USB bridge?
If it's bound to UART0, does that mean that the pins on the breakout board identified as RX0 and TX0 are probably hardwired to the USB-UART bridge chip & can't be used for any other purpose? Or would a board like this typically use UART1 or UART2, and bind the UART used by the USB-UART bridge to ESP32 pins that WEREN'T directly exposed by the header, precisely to ensure that the ones exposed BY the header could be freely used without risk of interfering with the chip's future flashability, debuggability, etc?
From the silkscreened legend on the board, it's obvious that they're associating UART0 with the pins mapped to GPIO1 and GPIO3.
As I understand it, any of the 4 UART functions (TX, RX, CTS, RTS) for any of the 3 UARTs can be mapped to (almost) any pin (though I believe the pins identified as SVP/GPIO36, SVN/GPIO39, GPIO0, GPIO2, and GPIO12 are off-limits for UART use).
That said... which UART is typically bound to the UART-USB bridge?
If it's bound to UART0, does that mean that the pins on the breakout board identified as RX0 and TX0 are probably hardwired to the USB-UART bridge chip & can't be used for any other purpose? Or would a board like this typically use UART1 or UART2, and bind the UART used by the USB-UART bridge to ESP32 pins that WEREN'T directly exposed by the header, precisely to ensure that the ones exposed BY the header could be freely used without risk of interfering with the chip's future flashability, debuggability, etc?