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

The central board report "Insufficient" warnings for multi-peripheral to one central NUS project.

Dear all. Now I am working on multi-peripherals to one central NUS communication project. The peripheral boards are based on nRF52840 and the central board is nRF52832 DK board. It works when there are three peripherals and one central board. The NUS transfer speed is 115200bps. When I increased the peripherals to 4, the central board didn't receive the data and the warning is "Insufficient" via RTT as shown below.

 

I increase the peripheral number by configuring the NRF_SDH_BLE_CENTRAL_LINK_COUNT and NRF_SDH_BLE_TOTAL_LINK_COUNT to 4. Is that correct? Do I need to modify the RAM of the central board?  Any help will be very appreciated. Thanks.

  • I suspect here there is an assert in nrf_sdh_ble_enable(), where it should be printing the:

    "Insufficient RAM allocated for the SoftDevice." with some additional details.

    However I don't have any explanation to why your RTT log does not work as intended. Maybe check you have set DEBUG in the preprocessor such that app_error_fault_handler() will halt the error, though this should already be done if you build with Debug (not Release) in SES. Double check you have log_init().

    Kenneth

Related