Skip to main content
N_1
Associate III
December 7, 2019
Question

Motor profiler and MX generated code not working properly

  • December 7, 2019
  • 2 replies
  • 826 views

Hy all,

I have a little problem. I am using a B-G431b-ESC1 developement kit. I generated a code with the help of Motor control Workbench and MX. I followed the steps from:

https://www.st.com/content/ccc/resource/technical/document/user_manual/group1/86/3f/45/e0/12/18/47/85/DM00564746/files/DM00564746.pdf/jcr:content/translations/en.DM00564746.pdf

At section 6.1, step 7 : " the motor starts to rotate respectively" but mine just BEEP-ing.

If I push the reset button on the daughter board, the motor starts to rotate and after 2-3sec stops and naturally, resets the MCU.

My question is, why my motor does not rotating using this generated code? I attached my code, thank you for helping

This topic has been closed for replies.

2 replies

Laurent Ca...
Senior III
September 10, 2020

Dear N

It is a rather old post.

Do you have still this problem to solve?

Best regards

Laurent Ca...

Laurent Ca...
Senior III
September 22, 2020

Dear N

OK. I consider this post closed.

Do not hesitate to answer if it is not.

Best regards

Laurent Ca...