problems with UART_FRAME_ERR event

dperez
Posts: 8
Joined: Wed Jul 27, 2016 8:02 am

problems with UART_FRAME_ERR event

Postby dperez » Tue Jun 27, 2017 12:14 pm

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.

MNathan
Posts: 5
Joined: Tue Mar 12, 2019 1:08 pm

Re: problems with UART_FRAME_ERR event

Postby MNathan » Mon Sep 09, 2019 7:22 am

I'm facing the same problem, how did you manage to solve it?

Who is online

Users browsing this forum: Bing [Bot] and 77 guests