This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

UARTE RX issue

Hi, team.

There is a connection nfr52840 and esp32 (115200, 8, no parity, flow disable).

I'm using UARTE in interrupt mode (to send AT command and receive responses). I'm receiving bytes one by one in UART_RX_DONE event. In this event (every event) I toggle GPIO pin in order to indicate (control) every received byte (the signal duration is about 88 us). I faced the situation, when one byte corrupted, instead of 88 us signal duration i see about 170 us. For instance, esp32 responses with the following sequence (\r\n\OK\r\n>), but instead  i get (\r\n\KK\r\n>,(\r\r\OK\r\n>) or smth. like this). On the oscilloscope i see correct sequence. Also, i use softdevice s140 and ble stack. So, is it possible (my assumption) for softdevice to interrupt uart while bytes receiving process? What could be the reason of such a problem and how to solve it, thanks.

Parents Reply Children
No Data
Related