Part Number: CC2640
Other Parts Discussed in Thread: SENSOR-CONTROLLER-STUDIO
I'm attempting to debug a task in Sensor Controller Studio.
The task is connected (it says Task Testing [connected] in the column to the left]
The initialization is run.
Then CTRL-F11 is pressed to run and debug one iteration.
The Task Debugging - Execution Code panel is open and the debugger is single-stepping and running to break-point, etc.
A breakpoint is placed at the instruction immediately following the instruction below:
gpioSetOutput(AUXIO_O_PERIPHERAL_GND);
0106 ---- 660e iobset #(2 & 0x7), [#(IOP_AIODIO0_GPIODOUT + (2 >> 3))]
Breakpoint set here
fwDelayUs(100000, FW_DELAY_RANGE_100_MS);
-> 0107 ---- 7093 ld R7, #(((100000 * 24 ) + ((1 << 14) - 1 )) >> 14 )
The debugger runs and then stops at the instruction above^
Should I be able to see the GPIO pin set on the chip?
I place a scope on the GPIO pin, but it is not high.
What' am I doing wrong?
John