Skip to content

HardwareSerial pin assignation on ESP32-S3 #7535

@beckmx

Description

@beckmx

Board

ESP32-S3-DevKitC-1 v1.1

Device Description

DevkitC nothing connected, plain USB connection to computer

Hardware Configuration

Nothing else

Version

latest master (checkout manually)

IDE Name

Platformio

Operating System

Macos 12.5.1

Flash frequency

80Mhz

PSRAM enabled

yes

Upload speed

115200

Description

When configuring the serial ports using the original definitions from the file HardwareSerial https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/HardwareSerial.cpp looks like the definition for UART1 and UART2 pins for ESP32-S3 do not correspond with those in the original documentation where the GPIO pins are different https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/hw-reference/esp32s3/user-guide-devkitc-1.html.

Sketch

Serial.println("original uart0");
//setup all the ports with initial configuration
Serial1.begin(115200);
Serial2.begin(115200);

Debug Message

HardwareSerial.cpp

#elif CONFIG_IDF_TARGET_ESP32S3
#define RX1 15

#elif CONFIG_IDF_TARGET_ESP32S3
#define TX1 16

Other Steps to Reproduce

I checked the documentation and looks lke it doesnt match with the pins originally defined

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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions