Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CCSTUDIO
I have been able to successfully record data from the ADC and send this data over BLE to a laptop. However, whenever the board is powered down (via unplugging the usb) or by pressing the "Reset" button on the launchpad, the code seems to bug. My project is based on Project Zero.
What works:
- I can reprogram the board and it will work fine. It sets all parameters properly, starts clocks, reads the ADC, and transmits with notification over BLE.
What doesn't work (after power down / reset):
- The device no longer advertises (advertises very briefly during startup initialization).
- The device no longer loops through main loop.
It seems to get stuck somewhere in the code, but since it is a reset, I cannot track it in the debugger. If there is any point in my main function loop that causes the code to leave the main task loop (ie go to Idle or other task) it never returns to my main loop [to see this I have used semaphores, task_sleep, etc].
Any help is appreciated!