Skip to content

ESP32 Arduino Core 3.3.6: Serial.available() not working on ESP32-S3 (works in 3.3.5) #12277

@rvbc1

Description

@rvbc1

Board

ESP32-S3 (N8R2)

Device Description

Dev-board

Hardware Configuration

No, only USB-Serial converter

Version

v3.3.6

Type

Bug

IDE Name

VSCode, platfomrio

Operating System

macos sonoma

Flash frequency

IDK (default)

PSRAM enabled

yes

Upload speed

IDK (default)

Description

I’m experiencing a regression when using Arduino ESP32 core v3.3.6 on an ESP32-S3 (N8R2).

The following minimal sketch works correctly in v3.3.4, but does not work in v3.3.6 (I was not able to test v3.3.5 yet).

Observed behavior
In v3.3.4:
• Incoming UART data is detected correctly.
• Serial.available() returns expected values.
• Echo works as intended.
In v3.3.6:
• Serial.available() always returns 0.
• No incoming data is detected.
• RX appears non-functional.

Additional notes
• UART TX is working correctly:
• Serial.println() outputs data without any issues.
• This looks like a problem specifically related to RX / Serial.available() handling.
• Hardware setup has not changed between versions.
• Board: ESP32-S3 N8R2
• Baud rate: 115200

Expected behavior

Serial.available() should correctly report received bytes on ESP32-S3, same as in Arduino ESP32 core v3.3.4.

Sketch

void setup() {
    Serial.begin(115200);
}

void loop() {
    while (Serial.available()) {
        char inChar = (char)Serial.read();
        Serial.print(inChar);
    }
}

Debug Message

none

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

Area: UARTRelated to the UART peripheral or its functionality.Resolution: Unable to reproduceWith given information issue is unable to reproduce

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions