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

UARTE received data is strange

Hello,

When performing serial communication using UARTE in the environment of SDK 15.3.0, SoftDevice 6.1.1,
In rare cases, abnormal data is received.
I don't know the cause and need help.

The communication is 115200bps, no parity, no hardware flow control, 11byte data is received at 100ms interval, and 32byte data transmission is repeated.
At this time, the received data is always the following data.
10h 02h 00h 06h 00h 01h 00h 00h 10h 03h 04h
In rare cases, the data obtained with app_uart_get () may be as follows:
<case 1>
10h 02h 00h 06h 00h 01h 00h 00h 10h 03h 03h
<case 2>
10h 02h 00h 06h 00h 00h 00h 00h 10h 03h 04h
<case 3>
10h 02h 00h 06h 06h 01h 00h 00h 10h 03h 04h

If you look inside the FIFO used in UARTE, there is definitely abnormal data.

However, it is correct to check the waveform when an error occurs in the logic analyzer.

I don't know why the contents of the FIFO are wrong.
Why is this happening?

Parents Reply Children
No Data
Related