I'm designing my own board with some devices connected by UART to ESP32-S3-WROOM-1-N4
I'm basing my board design on ESP32-S3-DevKitC-1 v1.1.
As I read on documentation, there's 3 UART ports, but I just can identify 2 of them.
On GPIOs 43 and 44 there's UART0 (U0TXD and U0RXD)
On GPIOs 17 and 18 there's UART1 (U1TXD and U1RXD)
Where's UART2? I supposed is on GPIOs 15 and 16, but I'm not sure.
If I go to HardwareSerial.cpp file, the defined pins for UART1 are not 17 and 18, instead I can see 15 and 16, and UART2 is defined on 19 and 20, where is the USB D- and D+ pins.
Can someone help me?
Thank you very much.
Using third UART port
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: Using third UART port
The pins indicated are the default pins for the UART, but you don't have to use them; you can route the UART signals to any available GPIO. The 3rd UART simply does not have a default set of pins.
Re: Using third UART port
Thank you very much, really helpfully your answer.
Good to know that I can use any GPIO as third UART.
Good to know that I can use any GPIO as third UART.
Who is online
Users browsing this forum: No registered users and 75 guests