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

s130 memory consumption

Hi,

I'm wondering

  • if nrf51822 QFAA is suitable for SD130 (considering to ram requirements)? In specs are just default and minimum value shown, what about max?
  • What ram consumption can I expect per connection (central role)?

Thank you.

BR, Matej

  • The RAM usage will depend on the softdevice version and application. If you download the latest SDK and open app_ram_base.h you can find defines for RAM requirements for different configuration of central links, peripheral links, security procedures that can run in parallel (e.g. how many links can bond at any time), and number of packets in each connection interval.

    Example:

    #define APP_RAM_BASE_CENTRAL_LINKS_3_PERIPH_LINKS_1_SEC_COUNT_1_MID_BW 0x20002c68
    

    An application with 3 central links, 1 peripheral link, 1 security procedure allowed at a time, and up 3 packets in each connection interval will require the softdevice to reserve about 11kB of memory. Leaving about 3kB to the application and 2kB to the stack if you have 16kB in total.

Related