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

High speed UART with libuarte -> "Unexpected RX free input parameter"

Hi,

Currently I’m working on a device which is, on the one side connected to a smartphone via BLE and on the other side to another uC via UART.

Therefore, the UART speed is fixed to 1MB/s (without flow control). For this reason, I must use DMA to get the UART running.

We use the nRF52840 DK with the SDK 16.0.0.

I had a look to the example projects “ble_app_uart” and “libuarte”. Both projects fulfill our requirements to the BLE and UART connection.

I merged this projects and after some problems, it works just fine.

At the beginning it works just fine, but after some telegrams over the UART the "libUARTE_async: Unexpected RX free input parameter." messages appears.

The minimal time interval between two telegrams is 100ms.

What could cause this error?

How to fix it?

Best Regards,

Kilian Neubacher

Related