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

Forced disconnections when i try to send 50 bytes per second on UART example

Hi everyone,

Explaning my project: an external device transmit via UART to nordik nrf52840DK device with UART peripheal firmware, this is connected to another nrf52840DK via BLE with UART central firmware.

So the peripheal is only working as bridge.

It simply works when i send less than 10 bytes per second, but when I increase the amount of data to more than 30bytes per second i get disconnexions of my peripheal when passed 20-40 seconds. 

I tink that it could be an overload of the UART or an overload of BLE, here my conn_params:

Here the error of disconnection: Disconnected: <log_strdup alloc failed> (reason 8)

Really the objective of the project is send 50-100 bytes every 100msec.

What point i need to check or reconfigure to achieve it??


Thank you,

regards.

Parents Reply
  • peripheral_uartF_ML1.zip

    Thanks for the interest on debug my project, is so important to mi achieve this.

    To reproduce my configuration you should compile that project with another board (I use a custom board named hello_board, the only difference with nrf52840 dk are the UART, buttons and Leds pins).

    Firstly u should close a communication between 2 devices, my project use a filter by name, and only work on coded phy, so i will upload Central UART too to make you easier.

    Later you should send packets of 50 bytes every second from another device to UART rx pin of peripheral.

    If this happend while there are a communication the error must happen.

    Thank you, regards.

    central_uart_ML1.zip

Children
Related