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.

IWR6843ISK: How to Allocate a New Buffer in the Vital Signs Demo Using IWR6843

Part Number: IWR6843ISK

Tool/software:

Hello, I am currently applying additional algorithms to the existing Vital Signs demo provided by TI in CCS (Code Composer Studio).

It seems that the main variables used in the core interframe processing function of the Vital Signs demo are allocated memory at a predefined address using MMW_ALLOC_BUF in the file C:\ti\mmwave_industrial_toolbox_4_9_0\labs\vital_signs\68xx_vital_signs\src\dss\dss_data_path.c (as shown in the image above).

If I want to use a new array, such as pVitalSigns_Breath_CircularBuffer, can I simply use malloc, like newarr = (int*)malloc(sizeof(int) * 4); instead of using MMW_ALLOC_BUF in MmwDemo_dataPathConfigBuffers?

Thanks