CC2650: turn on from idle mode using external signal

Part Number: CC2650

Hi,

I am working on implementing turning on from idle mode CC2650 with an external signal using sensor controller. In sensor controller I have two different tasks. One task is reading the external signal to turn on the sensor, and the other task is used when the sensor is turn on (reading external values with ADC converter). My question is what would be the best way to implement this. Is it possible to create multiple tasks of sensor controller in tirtos?. So what I mean, in the main program would be possible to start only one task of  sensor controller and wait to create the other tasks (icall, GAPRole etcc...) until receiving the signal of "turning on"  and then also create a new task for the sensor controller again to use the second task of sensor controller. Is there an example of this?.

Thanks!

3 Replies