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.

RTOS/LAUNCHXL-CC1352R1: hitting 1500 byte stack memory limit?

Part Number: LAUNCHXL-CC1352R1

Tool/software: TI-RTOS

I'm trying to combine two projects together and enhance them.

  1. The multi-role project from SDK: simplelink_cc13x2_26x2_sdk_3_10_01_11
  2. The guiboostxlsensors project from SDK: sail_1_40_00_00

When testing the individual projects the multi-role project performs pretty much as expected, however, the guiboostxlsensors seems to not work correctly. Further investigation into the project lead me to find the issue is something to do with memory. I disabled certain task threads in the project leaving only the taskTMP, taskOPT, and updateControlThreadHandler tasks active. After doing this I can get information from the sensors to the terminal. Counting all the task stack sizes I get 5684 bytes when I reduce the project down in order to get it to run I have about 1500 bytes of stack space. To my understanding, this device has 80KB of RAM, though I know some is reserved for the Ti-RTOS. I am unable to determine why this memory issue is being hit. Is there a way to increase the stack size or am I missing something here?

Thanks