Skip to content

Serial Read Fail with latest IDF 5.4.1 #11498

Closed
@SuGlider

Description

@SuGlider
Collaborator

Board

Any SoC

Device Description

Any

Hardware Configuration

None

Version

latest stable Release (if not listed below)

IDE Name

Arduino IDF

Operating System

Any

Flash frequency

N/A

PSRAM enabled

no

Upload speed

115200

Description

A simple sketch fails reading UART data after IDF 5.4.1 commit espressif/esp-idf@60f5828

Nothing is printed into Serial Monitor, event when data is sent.

Sketch

void setup() {
  Serial.begin(115200); // using UART0 - open Serial Monitor to send data to Serial
}

void loop() {
  // just echo back what is sent to Serial
  if (Serial.available()) {
    Serial.write((char) Serial.read());
  }
}

Debug Message

Serial doesn't read data ... no echo back.

Other Steps to Reproduce

Checkout idf-release/v5.4 and run the sketch above.

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Activity

self-assigned this
on Jun 21, 2025
added
Priority: High 🗻Issues with high priority which needs to be solved first.
bug 🐞Inconsistencies or issues which will cause a problem for users or implementers.
and removed on Jun 21, 2025
SuGlider

SuGlider commented on Jun 21, 2025

@SuGlider
CollaboratorAuthor

@Jason2866 @me-no-dev - This is the effect of the IDF commit adding uart_release_pins() to the IDF UART Dirver.
Working on it...

added theissue type on Jun 21, 2025
moved this from Todo to In Progress in Arduino ESP32 Core Project Roadmapon Jun 21, 2025
added this to the 3.2.1 milestone on Jun 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area: ESP-IDF relatedESP-IDF related issuesPriority: High 🗻Issues with high priority which needs to be solved first.bug 🐞Inconsistencies or issues which will cause a problem for users or implementers.

Type

Projects

Status

Done

Relationships

None yet

    Development

    Participants

    @SuGlider

    Issue actions

      Serial Read Fail with latest IDF 5.4.1 · Issue #11498 · espressif/arduino-esp32