Skip to content

ESP32-S3 UART Issue on IO19 & IO20 – Data Corruption #11283

Open
@mightChamp

Description

@mightChamp

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:

  1. Can GPIO19 and GPIO20 (USB pins) be reliably used for UART communication, as well as for general input and output?

  2. 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.

Metadata

Metadata

Assignees

Labels

Chip: ESP32-S3Issue is related to support of ESP32-S3 ChipResolution: Unable to reproduceWith given information issue is unable to reproduceStatus: Needs investigationWe need to do some research before taking next steps on this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions