Skip to main content
Jolof.1
Associate
Apr 28, 2020 3:38 PM UTC
Solved

ST Motor Control workbench serial interface specification?

Where can i find the serial port communication protocol specification, so i can control a motor over the uart, without using ST Motor control workbench?

This topic has been closed for replies.
Jolof.1
Jolof.1Best answer
Associate
Jul 9, 2020 2:53 PM UTC

I got the specification from another person at ST by email, not from this forum..

https://www.st.com/resource/en/user_manual/cd00298474-stm32f-pmsm-singledual-foc-sdk-v43-stmicroelectronics.pdf

11 replies

Claire O.
ST Employee
May 11, 2020 9:04 AM UTC

Dear Jolof.1,

this specification is indeed missing.

Do you have any particular question on this topic we can try to answer?

Thanks,

Claire

Lmazz.1
Visitor II
Jul 9, 2020 2:46 PM UTC

Hi Claire,

I am interested in the same topic - any follow up or news on this?

many thanks in advance

Lorenzo

Jolof.1
Jolof.1AuthorBest answer
Associate
Jul 9, 2020 2:53 PM UTC

I got the specification from another person at ST by email, not from this forum..

https://www.st.com/resource/en/user_manual/cd00298474-stm32f-pmsm-singledual-foc-sdk-v43-stmicroelectronics.pdf

Lmazz.1
Visitor II
Jul 9, 2020 2:56 PM UTC

​thank you! have you implemented / tried already?

Jolof.1
Jolof.1Author
Associate
Jul 9, 2020 3:09 PM UTC

You are welcome Claire =)

Lmazz.1 : Yes i have implemented "motor control protocol (MCP)". In controller that controls two motors. Works fine, a hint is top read out the fault flags, in case a fault occurs the motors stops and the flags needs to be cleared before you can continue running the motor.

Lmazz.1
Visitor II
Jul 9, 2020 3:12 PM UTC

​Awesome - are you using any of c library to handle the communication protocol or you just coded your own?

Jolof.1
Jolof.1Author
Associate
Jul 9, 2020 3:20 PM UTC

Made my own, could not find any library for it.

Lmazz.1
Visitor II
Jul 9, 2020 3:27 PM UTC

what about this? do you think is possible to use?

Lmazz.1
Visitor II
Jul 9, 2020 3:28 PM UTC

0693W000001sYtMQAU.jpg

Jolof.1
Jolof.1Author
Associate
Jul 9, 2020 3:41 PM UTC

Yes, not sure. Could be that it's only the Slave-end support for the protocol. Not the controlling master end?

I never dived deep into that code..