This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Workflow for testing Instaspin-BLDC using DRV8301 Kit without a GUI

Other Parts Discussed in Thread: INSTASPIN-BLDC

Hello,

I am trying to get a motor running with the DRV8301-LS12-Kit and have been able to successfully control it through the GUI using the Instaspin-BLDCsolution. However, I would like to program it using the Instaspin control solution but without operating the GUI. I am using CCS v5.4 because I was advised by a TI employee that v5.6 and later were incompatible with this kit. 

I have been modifying the project01  (C:\ti\Hercules\MotorWare\v1.0.3.03\sw\solutions\instaspin_bldc\boards\drv8301kit_revD\hercules\tms570ls1227\projects\ccs5\project01) by manually hardcoding parameter values of the GUI_obj because other aspects of the program are based on values of variables such as gGUIObj.TPSFlag. The end goal of this is to create implement a control algorithm that speeds up and slows the motor based on external sensors (essentially automating the user's manual operation of the GUI speed knobs) while using Instaspin for the actual commutation control. Is there a more elegant/simple way to do this without replacing the GUI_obj (perhaps through HalCoGen) or is this the only way to do it?

Thanks in advance for any help.