This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0L1306: Stack Memory Allocation Location in MSPM0L1306 Microcontroller

Part Number: MSPM0L1306

Tool/software:

Hello,

I am working with the MSPM0L1306 TI microcontroller and have a question regarding stack allocation. Should the stack be allocated in a specific memory location of SRAM for stability? If so, could you please provide guidance on the recommended memory location for stack allocation?

Thank you for your assistance.

Best regards,
Govardhan Perla

  • Hello Govardhan, 

    In general, the allocation and release of stack memory are automatically managed by the compiler to store which is mainly used to store some local variables and function parameters, etc. If you want to see the allocation of memory and the stack usage, you can click "view->memory allocation" and "view-> stack usage" after building the project in CCS.

    Best Regards,

    Janz Bai