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/CC2640: CC2640 resetting when the task stack size is modified?

Part Number: CC2640
Other Parts Discussed in Thread: BLE-STACK,

Tool/software: TI-RTOS

Hi,

I ave modified the SimpleBLE_Peripheral example with a pedometer task that works as a pedometer using an accelerometer.

The memory status is Flash-99% and Flash Last page - 97%.

The increased memory is because of other drivers used to drive display graphics etc..

Issue I face is, CC2640 resets approximately every 1 hour. The stack size of Simple Peripheral Task is 1024 and that of the pedometer task is 644. 

If I increase this to, say 2048 and 1024 respectively, the deice is continuously resetting. 

why is this happening and how can I solve this?

Regards,

Joe