Hello @9860042625,
In the SDK examples, the stack is used to allocate temporary variables and the RAM is the physical memory space reserved for this. In the SDK examples, the stack is placed in the upper section of the SRAM memory.
Let me know if this helps you.
Best Regards,
Alexis Andalon