Skip to content

ESP stop Working UART #794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lBenji opened this issue Oct 30, 2017 · 3 comments
Closed

ESP stop Working UART #794

lBenji opened this issue Oct 30, 2017 · 3 comments

Comments

@lBenji
Copy link

lBenji commented Oct 30, 2017

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
@lBenji lBenji closed this as completed Nov 6, 2017
@lBenji
Copy link
Author

lBenji commented Nov 6, 2017

I had the same issue as #645

@copercini
Copy link
Contributor

This was fixed in e2bd93c
Just update your core version and everything should work fine =)

@lBenji
Copy link
Author

lBenji commented Nov 6, 2017

Problem fixed.

@copercini yes I have seen it before, that the Issue is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants