Part Number:DRV8301
Hi there
I am using a TMS570SL1227 Control Card and a DRV8301 Kit; SW is CCS v7.4 and MotorWare Software Projects for Hercules Safety MCU's v1.00.03.03.
I followed all the instructions from DRV8301-LS12-KIT_README_FIRST.pdf as well as foc_encoder_speed_ls12.pdf.
I am able to compile and download, but afterwards the software expects a command (in sys_main.c):
// Endless loop to wait for start command from either GUI or button
while(DRV_get_Enable(drvHandle) != 1){
if(GetChar(drv.ecmpHandle) == '2')
{
gGUIObj.EnableFlg=1;
PutText(drv.ecmpHandle, "Motor Enabled\r\n");
}
GUI_run((GUI_Handle)&gGUIObj, drvHandle, graphHandle);
}
I commented this line out and disbabled all SCI passages, but the motor doens't spin, when I set “gGUIObj.EnableFlg” = 1" and “gGUIObj.calibrateEnable = 1".
Is the software/hardware out of date? Is there a newer/better option available (motor control on hercules)?