cancel
Showing results for 
Search instead for 
Did you mean: 

ST Motor Control with STLinkV3

Thundernail2000
Associate

Hi all,

I have adapted the B-G431B-ESC1 board into a custom design and I am using a STLINK-V3MINIE for programming. I can program the controller and I can communicate via the serial interface.

But ST Motor Pilot V1.2.12 does not detect the UART interface. The 'Board Connection' area is greyed out. I tried older versions of the MotorPilot but it did not work too. 

Can ST Motor Pilot not work with STLINKs or do I need a different one than the STLINK-V3MINIE?

 

Kind Regards
 Thundernail

1 ACCEPTED SOLUTION

Accepted Solutions
LHOUE
ST Employee

Hi @Thundernail2000 ,

I see that your COM port has been listed by motorPilot. That's good! 

So you have only to press to "discover board" button or if you know which Motor control firmware (FOC/6STEP/HSO) is present in your ESC board, you can click on load UI select the qml file corresponding to your firmware and you will have then the possibility to click on connect.

 

BRs

If you agree with my answer, please accept it by clicking on 'Accept as solution'.

View solution in original post

4 REPLIES 4
AScha.3
Chief III

Is in your system the serial port visible?

Did you connect to the serial port of mini E ?

 

If you feel a post has answered your question, please click "Accept as Solution".
Thundernail2000
Associate

Yes, Windows shows it as "USB Serial Device (COM3)".

Thundernail2000_1-1734355331310.png

I can select the port in other terminal programs. 

But ST Motor Pilot does not even give me the option to press the refresh button.

Thundernail2000_0-1734355281449.png

 

LHOUE
ST Employee

Hi @Thundernail2000 ,

I see that your COM port has been listed by motorPilot. That's good! 

So you have only to press to "discover board" button or if you know which Motor control firmware (FOC/6STEP/HSO) is present in your ESC board, you can click on load UI select the qml file corresponding to your firmware and you will have then the possibility to click on connect.

 

BRs

If you agree with my answer, please accept it by clicking on 'Accept as solution'.
Thundernail2000
Associate

Hi LHOUSE,

Thank you. That helped.

"Discover Board" does not work for me, because it is a custom board. The error message I got is misleading:
Thundernail2000_0-1734377616947.png
From this I thought that I had no connection instead of that the software just does not know the board. 

With GUI -> Load GUI it then enables the 'Connect' button on the top and communication with the board is working. 

Kind Regards
 TN