I need to run InstaSPIN without the GUI, but so far my attempts have been unsuccessful. The documentation says to run the code in the CCS debugger and set the gGUIObj.EnableFlg to 1, but this has no effect. Upon further investigation it is clear that three of the four ISRs (Timer0, Timer1, and ADCS1) are never called. Only ADCS0 is serviced. I was able to get the other ISRs to run by disabling code optimization and dropping the ADC clock from 1MSPS to 125KSPS. This leads me to conclude that the ADCS0 ISR was consuming all available CPU time and not allowing anything else to run.
Now the open-loop motor startup sequence will run without the GUI, but it fails to switch over into closed-loop duty-cycle control mode. Instead it just stops commutating and I have to toggle the reset switch to prevent the motor driver from overheating.
How can I get this code to run in the debugger, and without the GUI?
I'm using the DK-LM4F-DRV8312 kit.