RAM management for multiple links count and data length


I am trying to increase the Peripheral/Central_Link_count to 10 for each or 20 in total and NRF_SDH_BLE_GAP_DATA_LENGTH above 200

I am getting an error when compiling "region RAM overflowed with stack" when using the settings above, I adjusted the RAM,

But I am not sure if it is the same issue :https://devzone.nordicsemi.com/f/nordic-q-a/26448/nrf52832-maximum-number-of-central-links

I can't have more than 14 NRF_SDH_BLE_TOTAL_LINK_COUNT on my app

the latest SDK 15.2 is supposed to support 20 concurrents connections, is it possible?




it is a multi-role app


  • Hi,

    You should be able to have 20 links total, but not for all configurations of those links. The amount of RAM needed for the SoftDevice increases with number of links and with data length settings, among other options. This means depending on the amount of RAM available on the SoC you may hit a limit on the number of links. In short it is a trade-off where you must keep the total amount of buffer space needed for the links low enough.

    It would not be the issue that you are linking to, as that one was if you have more than 15 links as central, and you have "only" 10 central links.


Reply Children