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
  • Hi,

    yes i am using nRF Connect SDK 1.6.1 and nRF Connect 3.7.1 with Toolchain Manager 0.9.3.

    The last output error is getted via UART on the peripheal. The next output error appears on Segger Studio Debug at the same time:

    [00:00:18.517,486] [1;31m<err> os: r0/a1: 0x00000004 r1/a2: 0x0000009a r2/a3: 0x00000001[0m
    [00:00:18.517,517] [1;31m<err> os: r3/a4: 0x0001832d r12/ip: 0x00000000 r14/lr: 0x00015c97[0m
    [00:00:18.517,517] [1;31m<err> os: xpsr: 0x41000000[0m
    [00:00:18.517,517] [1;31m<err> os: Faulting instruction address (r15/pc): 0x0002c618[0m
    [00:00:18.517,547] [1;31m<err> os: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0[0m
    [00:00:18.517,547] [1;31m<err> os: Current thread: 0x20001b88 (unknown)[0m
    [00:00:18.696,929] [1;31m<err> fatal_error: Resetting system[0m

Children
Related