Open
Description
Board
ESP32-S3
Device Description
esp32-s3 wroom 1 Module
Hardware Configuration
IO19 and IO20 as Uart RX and TX respectively
Version
v3.2.0
IDE Name
Arduino IDE
Operating System
Windows 11
Flash frequency
40Mhz
PSRAM enabled
no
Upload speed
921600
Description
We are attempting to use IO19 and IO20 as UART pins (115200 baud rate) but are encountering unexpected issues. While UART communication works flawlessly on IO17 and IO18 with no data corruption, switching to IO19 and IO20 results in byte corruption.
please clarify the following:
-
Can GPIO19 and GPIO20 (USB pins) be reliably used for UART communication, as well as for general input and output?
-
Are there any specific software configurations or additional code modifications required to enable proper UART functionality on these pins?
Sketch
void setup(){
Serial.begin(115200);
Serial1.begin(115200,SERIAL_8N1,19,20);
}
void loop(){
while(Serial.available())Serial1.write(Serial.read());
while(Serial1.available())Serial.write(Serial1.read());
}
Debug Message
Not useful logs, as corrupted data bytes only.
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.