8000 ESP stop Working UART · Issue #794 · espressif/arduino-esp32 · GitHub
[go: up one dir, main page]

Skip to content
ESP stop Working UART #794
Closed
Closed
@lBenji

Description

@lBenji

Hardware:

Board: ESP32 Dev Module
Core Installation/update date: 11/jul/2017
IDE name: Arduino IDE
Flash Frequency: 40Mhz
Upload Speed: 115200

Description:

Sometimes if I reset the esp the last Console Output is "1" or empty. But the Serial1 Device is sending data all time.

If I reset the ESP32 5 times. the ESP is working 2 times correctly.

Sketch:

HardwareSerial Serial1(1);
#define SERIAL1_RXPIN 16
#define SERIAL1_TXPIN 17

void setup() {
  Serial1.begin(115200, SERIAL_8N1, SERIAL1_RXPIN, SERIAL1_TXPIN); //Serial Display
  Serial.begin(115200);

  delay(1000);

  Serial.write("1");
  
  delay(1000);

  Serial.write("2");
}

void loop() {
  Serial.println(5.1);
  Serial1.println(5.1);
  
  if (Serial1.available()) {      // If anything comes in Serial (USB),
    Serial.write(Serial1.read());   // read it and send it out Serial1 (pins 0 & 1)
  }

  delay(1000);
}

Debug Messages:

no

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0