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

SoftDevice S132 stack usage V7.0.1/V7.2.0

Hi all,

I was wondering what the correct stack usage of the S132 is?

In the release notes for both V7.0.1 and V7.2.0 it says:

"The worst-case stack usage for the SoftDevice is 1.75 kB (0x700 bytes)."

But when I check the SoftDevice Specification (S132_SDS_v7.1) in chapter 14.1, table 29. It states the maximum stack usage as 1536 bytes (0x600).

I can imagine, that the value in the SDS was not updated and is therfore still the old value.

Maybe you can confirm that.

Thank you in advance!

Best regards,

Pascal

Parents
  • Hello,

    I can see from the s132 releases notes for v7.0.0 vs v7.0.1:

    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.

    Call stack: The SoftDevice uses a call stack combined with the application. Update 1: The worst-case stack usage for the SoftDevice is 1.75 kB (0x700 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.

    Maybe you can confirm that.

    Hereby confirmed.

    Best regards,
    Kenneth

Reply
  • Hello,

    I can see from the s132 releases notes for v7.0.0 vs v7.0.1:

    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.

    Call stack: The SoftDevice uses a call stack combined with the application. Update 1: The worst-case stack usage for the SoftDevice is 1.75 kB (0x700 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.

    Maybe you can confirm that.

    Hereby confirmed.

    Best regards,
    Kenneth

Children
Related