ESP32 HardwareSerial WDT reset

Posts: 1
Joined: Thu Jun 14, 2018 3:58 am

ESP32 HardwareSerial WDT reset

Postby raz0rf0x » Thu Jun 14, 2018 4:04 am

I am trying to read from an RS485 module using UART2 on pins 16&17 at 1200 8N1.
For some reason whenever there is incoming data from the serial it crashes on a WDT reset.
Stack trace says that it is freaking out at the; line.

Code: Select all

Meditation Error: Core  1 panic'ed (Interrupt wdt timeout on CPU1)
The gist of it is this:

Code: Select all

 HardwareSerial RS485Serial(2);
    while(RS485Serial.available()) {
      messageBuffer[bufferlen++] =;}
Any ideas what may be causing that?

Posts: 3732
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 HardwareSerial WDT reset

Postby ESP_Sprite » Thu Jun 14, 2018 9:58 am

What hardware are you using?

Who is online

Users browsing this forum: No registered users and 8 guests