cancel
Showing results for 
Search instead for 
Did you mean: 

EVSPIN32F0601S3 Disconnects from Motor Pilot 6.3.0 When Pressing "Start" .

Sunil_Kumar_G
Associate II

Hi ST Team,

I'm using the EVSPIN32F0601S3 development board and attempting to control a BLDC motor via Motor Control Workbench 6.3.0 and Motor Pilot 6.3.0.

Everything connects successfully when I open Motor Pilot — the board is detected, and parameters are correctly loaded. However, as soon as I press the "Start" button to run the motor, Motor Pilot immediately disconnects from the board. There's no error message aside from the disconnect itself.

What I've tried so far:

  • Verified UART connection (using STLink onboard)

  • Ensured the power supply to the board and motor is stable

  • Reflashed the firmware generated by Workbench

  • Tried different USB cables and ports

  • Rechecked motor parameters (voltage, current, sensor type, etc.)

Environment:

  • Motor Control Workbench & Motor Pilot 6.3.0

  • EVSPIN32F0601S3 with STSPIN32F0601

  • BLDC motor (sensorless)

  • Windows 10

It seems like the firmware crashes or resets when the motor is commanded to start, leading to a loss of communication with Motor Pilot.

Has anyone else experienced this or have suggestions on how to debug further?

Thanks in advance!

3 REPLIES 3
GMA
ST Employee

Hello @Sunil_Kumar_G,

It could occur when the MCU is overloaded. Try using a lower PWM frequency value.
With a debugger, you can check the MCI[] table which contains the following:

  • "state" element indicates whether an error has occurred or not
  • "CurrentFaults" and "PastFaults" elements specify the error type (defined in mc_type.h)
If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
Sunil_Kumar_G
Associate II

Hello St Team,

No errors have occurred. Only my UART is getting disconnected, while the motor is running fine.

 

Hello @Sunil_Kumar_G,

It could occur if the MCU is heavily loaded. Could you try reducing the PWM frequency?

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA