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.

TMS320F280049C: Servo drive with can project, motor not spinning after 'restart' debugger

Part Number: TMS320F280049C
Other Parts Discussed in Thread: DRV8320

Hi,

I am working with the servo_drive_with_can_f28004x project (Instaspin, motorControl SDK 4.00) on a XLboost drv8320 with Launchpad 280049C.

I added some custom CANbus messages to control the motor. For now the motor starts spinning, accelerating etc.

When running with the onboard debugger it seems to run fine, even after halting the debugger nd then resume again.

Exept when I 'Restart' the microcontroller via the debugger, I can still hear de motor, but it will not spin. I found out that pwmISRCount stays 0, so it won't jump to the Interrupt of the ADC (while mainLoopCount and timerCnt_1ms are increasing).

When stopping the debugger and starting it again, the motor spins again (and the pwmISRCount is increasing).

Any thoughts what could be the issue here?

BR,

Ruud

Edit:

CANbus interrupts still work, no faults in motorvars.faultuse.all