Hello,
I bought the kit DRV8301-LS12-KIT with TMS570LS1227, it works so far.
According to the document "Sensored FOC Control with SMO for the Hercules TMS570LS12" V01, page 15 it is possible to disable the TPS65381 by setting all positions on DIP switch SW1 to OFF and commenting out line 89-98 in DRV.C >> I commented out the lines, compiled and flashed the code, it doesn't work.
Could you please verify that it is the right code below? Is it really enough?
Is it possible to run DRV8301 without servicing the watchdog at all?
Is it possible to get the original Halcogen-Code (I use HALCoGen 03.05.00) of the FOC project?
the code:
while(!ecmpStayinDIAGState(drv->ecmpHandle));
// while(wait); // set cursor to next line to continue - prevents reset chain
while(!ecmpGetWriteAccess(drv->ecmpHandle));
sciInit();
if(ecmpReadRegister(drv->ecmpHandle, RD_SAFETY_STAT5) == 0x04)
{
PutText(drv->ecmpHandle, "TPS65381 is NOT in DIAG state, toggle IGN!\n\r");
while(1);
}