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.

CC2640R2F: Can reduce the stack or memory size to run aoa project which integrate with bmi160 sensor?

Part Number: CC2640R2F

Hi,

Software: SDK v2.3

I follow the document ( http://dev.ti.com/tirex/content/sail_1_20_00_02/examples/rtos/CC1310_LAUNCHXL/sail/i2cbmi160/README.htmlto porting SAIL plug with bmi160 sensor on the aoa sender project.

On the main.c, there are two task.

1. AoASender_createTask();

 2. sailThread_create();  => handle bmi160 sensor driver.

But I can't leave both of two task or the device will crash. I guess it is because the ram size. How can I let both two tasks work at the same time? How to reduce the stack size?

Thanks