cancel
Showing results for 
Search instead for 
Did you mean: 

Motor pilot connection issue

Nidhi12
Associate II

Hi Team,

I am working on a custom board with STSPIN32F0601S3, after generating code using MCSDK Version 6.3.0 with cube Mx 6.10.0, I tried to connect Motor pilot just start/stop and change RPM but it did not connect, Pls confirm which steps I am missing

Below are the steps I followed but still it did not connect 

1.Uploaded and RUN code (using cube ide)
2. RESET board
3. Opened workbench and selected Motor Pilot 
but it leads to default App Mode (pls refer screenshot) not detecting firmware although code is in run mode and not able to use Motor pilot which was along with MCSDK Pack 6.3.0

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Nidhi12
Associate II

Hi Team,

Pls confirm is there any issue that we can't directly use Motor Pilot with custom board, first we have to load GUI file(.qml) then it will work!! is this the limitation of motor pilot,won't work with usb to ttl only with st-link VCP it works?

View solution in original post

6 REPLIES 6
GMA
ST Employee

Hello @Nidhi12,

What is the reported error message (Logs tab) when clicking on "Discover Board" button?

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

Nidhi12_0-1776238202735.png

" No ST-Link VCP detected" 

But I am using Custom Board with USB To UART Converter, Do It is needed to click on discover board, it should redirect automatically to Motor Pilot after connecting UART and code, why this default App pops up, not Linking with FW although code is in RUN Mode.

Hello @Nidhi12,

Check if the board Power Supply is switched on.
Set the UART Baudrate to 1843200 in the Workbench User Interface settings and in the MC Pilot tool.
Refer to STM32 MC Motor Pilot - Start-up guide for the complete user manual documentation.

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

Hi,

I am getting these logs in motor pilot, also it worked when I loaded GUI directly then only it connected to USB to UART. Pls confirm is there any issue that we can't directly use Motor Pilot with custom board, first we have to load GUI file(.qml) then it will work!! is this the limitation of motor pilot ,won't work with usb to ttl only with st-link VCP it works?

 

PFA

Nidhi12
Associate II

Hi Team,

Pls confirm is there any issue that we can't directly use Motor Pilot with custom board, first we have to load GUI file(.qml) then it will work!! is this the limitation of motor pilot,won't work with usb to ttl only with st-link VCP it works?

Hello @Nidhi12,

The "Discover board" feature in Motor Pilot tool is available only when using an STLINK connection.
For other use cases, the user must load the associated QML file and manually select the COM port.

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