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

Parents Reply
  • Hi Siguard,

    The amount of send data is not constant, but it is less then 100 bytes per telegram.

    I tried to increase the _rx_buf_size to 512. After that the app_error_fault_handler() function is called short time after bootup.

    Logging: 

    <error> app: ERROR 3735928559 [Unknown error code] at [myFolder]\nRF5_SDK_16.0.0_98a08e2/componB

    Sadly the error message is truncated.

    Best Regards,

    Kilian

Children
No Data
Related