Skip to main content
Wzong.1
Associate III
February 9, 2021
Question

ST motor control workbench connection failed!

  • February 9, 2021
  • 3 replies
  • 2866 views

I used STSPIN32F0A as my motor control chip, the X_CUBE_MC workbench version is 5.4.4 , and the firmware package version is ST32 FW v1.11.2, then I generate the code ,but when I connect the MC workbench , I couldn't connect the MC workbench serial , and gave the below fault , This problem has been bothering me for a long time,Thank you very much for helping me0693W000007ERPdQAO.png 

This topic has been closed for replies.

3 replies

Cristiana SCARAMEL
Technical Moderator
February 15, 2021

Hello @Wzong.1​,

I suggest to check the communication speed set into the FW configuration and if it is correspond to the one in the monitor (baudrate 9600):

0693W000008GCRIQA4.png 

Let me know if it is helpful.

"If you feel a post has answered your question, please click ""Accept as Solution"""
Wzong.1
Wzong.1Author
Associate III
February 16, 2021

Hi Cristiana. Thanks for your answer! I have checked the connection and the baudrate , they were ok. When I debugged the first time it could connect, but after changed the parameters of the current sensing , the serail communication was lost !

Cristiana SCARAMEL
Technical Moderator
February 18, 2021

Hi @Wzong.1​,

the current sensing parameters change does not affect the serial communication.

The root cause must be sought elsewhere.

When you change the parameter in the workbench, did you change something in the hardware?

Is the power supply always present?

"If you feel a post has answered your question, please click ""Accept as Solution"""
Laurent Ca...
Senior III
June 1, 2021

The question has been set only to the "STM32 Motor Control" topic (the question is only about the STM32 MC SDK). 

Best regards

Laurent Ca...

APell.1
Visitor II
September 16, 2021

Hello @Wzong.1​ @Cristiana SCARAMEL​,

I had a similar configuration problem with my STSPIN32F0A:

0693W00000DnNflQAF.pngCould you help me?

Andrea