How to calculate SoftDevice usage

I am attempting to increase the MTU size on s132 3.0.0 and need to increase the available SoftDevice RAM unproportionally.

For every MTU byte I need to give dozens of bytes to the SD RAM.

I am unable to find any documentation on how to calculate the proper SD RAM usage based on vs_uuid count and MTU size for all softdevices.

Could anyone point me to a document where I can find the formula without having to rely on the SD error message upon boot?

Thanks!

Parents
  • Hi

    There isn't a good way of calculating this I'm afraid, and generally the SoftDevice will report exactly how much it requires upon boot.

    That being said. I see that you use a very old version of the S132 SoftDevice, and for later nRF5 SDK versions, S140 or S113 and those are what's recommended on the nRF52840 if you're not working on the nRF Connect SDK.

    Best regards,

    Simon

Reply
  • Hi

    There isn't a good way of calculating this I'm afraid, and generally the SoftDevice will report exactly how much it requires upon boot.

    That being said. I see that you use a very old version of the S132 SoftDevice, and for later nRF5 SDK versions, S140 or S113 and those are what's recommended on the nRF52840 if you're not working on the nRF Connect SDK.

    Best regards,

    Simon

Children
No Data
Related