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.
problems with UART_FRAME_ERR event
Re: problems with UART_FRAME_ERR event
I'm facing the same problem, how did you manage to solve it?
Who is online
Users browsing this forum: No registered users and 120 guests