Hi,
Im having a problem with the current consumption of CC2652 Sensor controller after it has finished its processing task,
The general idea is for the CC2652 to:
- sleep for x mins,
- wake up,
- configure and start the sensor
- Sensor controller task runs to completion
- Sensor controller is powered down to save current until the next time it is needed.
I seem to be able to power up and run the sensor controller correctly and i am able to start and restart the sensor controller task effectively.
However when we analyse the current consumption of the device we see that the current draw rises when we turn on the sensor controller, but it does not drop back down after we try and close the Sensor controller.
The Blue line represents the device sleeping,
the white line represents the SC being powered up and running the task and trying to shutdown
The redline represents that the SC continues to draw current forever
We are resetting the task structure and stopping the task like below..
/* Stop the Sensor Controller task */
scifResetTaskStructs( BV( SCIF_TASK_ID), 0 );
scifStopTasksNbl(BV(SCIF_TASK_ID));
Is there something else that we are missing that would allow us to completely power down the SC?
Any help would be appreciated :)