Hi,
I have a couple of GPIO-controlled LEDs and a motor on a CC26xx based board. I have two tasks that would like to use them and the third BLE task. Everything seems to go fine unless I have the LEDs or motor going when I unplug from a USB power source (I have a battery attached as well and its charged). Then the problem occurs. Also, if I hit a BLE characteristic fast enough while using the LEDs/motor, I can trigger the same problem.
The problem that appears under these conditions is that the task (let's call it the feedback task) controlling the LEDs/motor appears to die or maybe it's just stuck in sleep.
All the pins are initialized are initialized in the main task and I do have a PIN_registerIntCb in that task; I'm sharing the pin handle as a global between the tasks.
The code for controlling the LEDs and motor works fine if it's in the main task (and in the feedback task if the above two conditions don't occur).
Any thoughts on what might be the problem?