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.

CC3220S-LAUNCHXL: How to get current free RAM size in CC3220S

Part Number: CC3220S-LAUNCHXL
Other Parts Discussed in Thread: CC3220S

Hi, 

Is there any API to get current free RAM size for CC3220S during image running?

If not, how could we count the free RAM size manually?

Thanks.

Regards,

Yonghua

  • Hi Yonghua,

    It is hard to answer your question, because it depends on that you mean by free RAM. Also it is important to know if RTOS (TI-RTOS, FreeRTOS) is used or not.

    Generally speaking it can be to different things:

    1. Free memory unused by linker sections. For this purpose is good to use Memory Allocation tool in CCS.
    2. If case of RTOS is used you can determine free (unused) space in heap. There is more procedures how determine usage of heap. In case of TI-RTOS with CCS can be useful ROV (RTOS Objevt View).

    Question related to CCS or TI-RTOS is better to ask at CCS forum.

    Jan