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

    Where do you see that the usage for the call stack is 1.5kB? According to the resource usage page (specifically RAM and Flash usage) in the nRF5 SDK for Mesh v.4.0.0, the mesh stack requires a minimum call stack size of 2kB. I think you can find a lot of useful information regarding the resource usage of the mesh stack there.

    Best regards,

    Simon

  • Thanks, that was exactly the kind of information I was looking for regarding resource sizing. I suppose you need to check the resource usage of all sub-systems to get a complete picture of the total need?

    However, I was referring to the “call stack” info in the S112 SoftDevice Release Notes “s112_nrf52_7.0.1_release-notes.pdf” (s112_nrf52_7.0.1.zip) where it states “The worst-case stack usage for the SoftDevice is 1.5 kB (0x600 bytes)”. But as you pointed out, the resource usage page for Mesh v.4.0.0 states “requires a minimum call stack size of 2 kB”.

    I must be missing som fundamentals because I can't get it together, can you please give me a hint how these things add up?

    Thanks, Lars.


    S112 SoftDevice properties (s112_nrf52_7.0.1)

    • This SoftDevice variant is compatible with nRF52805, nRF52810, nRF52811 and nRF52832.
    • This SoftDevice contains the Master Boot Record (MBR) version 2.4.1 (DRGN-10680).
      • This MBR version is compatible with previous MBR versions.
    • The combined MBR and SoftDevice memory requirements for this version are as follows:
      • Flash: 100.0 kB (0x19000 bytes)
      • RAM: 3.7 kB (0xeb8 bytes). This is the minimum required memory. The actual requirements depend on the configuration chosen at sd_ble_enable() time.
      • Call stack: The SoftDevice uses a call stack combined with the application. The worst-case stack usage for the SoftDevice is 1.5 kB (0x600 bytes). Application writers should ensure that enough stack space is reserved to cover the worst-case SoftDevice call stack usage combined with the worst-case application call stack usage.
    • The Firmware ID of this SoftDevice is 0x00CD.

Reply
  • Thanks, that was exactly the kind of information I was looking for regarding resource sizing. I suppose you need to check the resource usage of all sub-systems to get a complete picture of the total need?

    However, I was referring to the “call stack” info in the S112 SoftDevice Release Notes “s112_nrf52_7.0.1_release-notes.pdf” (s112_nrf52_7.0.1.zip) where it states “The worst-case stack usage for the SoftDevice is 1.5 kB (0x600 bytes)”. But as you pointed out, the resource usage page for Mesh v.4.0.0 states “requires a minimum call stack size of 2 kB”.

    I must be missing som fundamentals because I can't get it together, can you please give me a hint how these things add up?

    Thanks, Lars.


    S112 SoftDevice properties (s112_nrf52_7.0.1)

    • This SoftDevice variant is compatible with nRF52805, nRF52810, nRF52811 and nRF52832.
    • This SoftDevice contains the Master Boot Record (MBR) version 2.4.1 (DRGN-10680).
      • This MBR version is compatible with previous MBR versions.
    • The combined MBR and SoftDevice memory requirements for this version are as follows:
      • Flash: 100.0 kB (0x19000 bytes)
      • RAM: 3.7 kB (0xeb8 bytes). This is the minimum required memory. The actual requirements depend on the configuration chosen at sd_ble_enable() time.
      • Call stack: The SoftDevice uses a call stack combined with the application. The worst-case stack usage for the SoftDevice is 1.5 kB (0x600 bytes). Application writers should ensure that enough stack space is reserved to cover the worst-case SoftDevice call stack usage combined with the worst-case application call stack usage.
    • The Firmware ID of this SoftDevice is 0x00CD.

Children
No Data
Related