Page 1 of 1

problems with UART_FRAME_ERR event

Posted: Tue Jun 27, 2017 12:14 pm
by dperez
Hi!

I am testing the UART of the ESP32 with this configuration: 9600bps, 8bit, No parity, 1 stop bit and no flow control. I have used the uart_events_example as a reference.

Everything starts ok but after some minutes I start receiving the event UART_FRAME_ERR from the uart.

My doubts are:

What is the reason to receive this frame error events?
What should I do once received the frame error event?

If I reset and run the module It starts ok but if I disconnect the UART cable and reconnect it later the frame error remains triggering and there is no correct reception.

For the reception I am using a polling of uart_get_buffered_data_len function and once there is something in the buffer I read it with uart_read_bytes function.

Thanks in advance for your help.

Re: problems with UART_FRAME_ERR event

Posted: Mon Sep 09, 2019 7:22 am
by MNathan
I'm facing the same problem, how did you manage to solve it?