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

Does SoftDevice S112 or S113 offer mesh support on a nRF52811?

Does SoftDevice S112 or S113 offer mesh support on a nRF52811?

The intended use is for an end-device running very simple app-logic. According to the SoftDevice properties in "s112_nrf52_7.0.1_release-notes.pdf" the combined MBR and SoftDevice memory requirements are 100.0 kB flash and 3.7 kB RAM. That leaves about 24 kb so it ought to be doable if the application fits within that space, isn't it? 

What I also couldn't figure out, is if the mesh functionality affects the call stack heavily. The release notes states that the worst-case stack usage is 1.5 kB but that seems a bit low.

Btw, what's basic difference between S112 and S113? I couldn't find any comparison charts regarding this.

Parents
  • Hi Lars

    What is it you need to add up? The overall stack size will depend on SoftDevice stack usage + Application stack usage. Seeing as the Mesh stack requires a minimum call stack size of 2kB, and the worst-case stack usage for the SoftDevice is 1.5kB (this will only occur in corner cases) this will make the total stack size ~3.5kB. You can modify the stack size in your project, as well as the Flash and RAM start/end addresses for your application.

    Best regards,

    Simon

Reply
  • Hi Lars

    What is it you need to add up? The overall stack size will depend on SoftDevice stack usage + Application stack usage. Seeing as the Mesh stack requires a minimum call stack size of 2kB, and the worst-case stack usage for the SoftDevice is 1.5kB (this will only occur in corner cases) this will make the total stack size ~3.5kB. You can modify the stack size in your project, as well as the Flash and RAM start/end addresses for your application.

    Best regards,

    Simon

Children
Related