Open pbruynbroeck opened 3 years ago
@pbruynbroeck Thanks for reporting and sharing the logs, we will look into.
I'm also having issues with UART reception yielding data corruption.
People have reported RX corruption in higher data throughput (same as me) but your described behavior is interesting. Could there be some increased system load at the 20 h mark?
Have you gained additional knowledge since?
Environment
xtensa-esp32-elf-gcc --version
to find it): xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0Problem Description
We have a GNSS receiver that sending frame over UART to the ESP. After several hours of operation, the ESP start to read wrong values. In our application, we can check if the frame is valid thank to a CRC. Here, I plot the total number of CRC error over the time (in ms):
As you can see, after ~20h, we start to have a lot of reading error. After the last CRC err, the behavior returned to normal.
We are using the default
uart_driver
like in theuart_events_example_main.c
. In the left, I print data received inuart event queue
, and in the right all data that read on the UART with a raspberry.If you want more data:
As I mentioned in the title, in the
uart event queue
, all data have the typeUART_DATA
. We haven't any driver errors.