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/CC2650: Difference in current consumption of MCU in RTOS based example and BLE based example.

Part Number: CC2650


Tool/software: TI-RTOS

For our application, we need the CC2650MODA to operate in two modes. BLE based data transfer or on board storage.

In the on board storage mode, the BLE should be completely off.

Our code is integrated into simple peripheral project and works as expected in both mode.

The code structure is

main()  {  Hardware_init();   Main_Task();  BIOS_start(); }

Main_Task_fxn()  {   Read_configuration();

if(storage_mode)   while(1) { acquire&store(); }

else if(BLE mode) {  ICall_createRemoteTasks();    GAPRole_createTask();    SimpleBLEPeripheral_createTask(); } }

In BLE mode, the stack memory is allocated in the run time.

Again the same code of storage mode is added to a simple RTOS driver example based application.

main()  {  Hardware_init();    BIOS_start();  }

Main_Task_fxn() { while(1) { acquire&store(); }

The problem is, in simple_peripheral application in storage mode, the MCU consumes more current than it does in driver based application.

Is the code structure followed correct for storage mode in simple peripheral application?

Is BLE completely OFF in this case?

if not, do we have to do any extra configuration to turn OFF the BLE?

Why is the difference in current consumption in the two applications?