cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-PTOOL4A : Error MC_DP_FAULT and Motor Profiler Connection Issue

JulesC
Associate III

Hello,

I am attempting to run a Brushless DC-Flat motor using the STEVAL-PTOOL4A board. However, the system fails right after entering the RUN state, returning an ERROR MC_DP_FAULT (via MC_GetOccurredFaultsMotor1).

To resolve this, I tried using the Motor Profiler to identify the exact motor characteristics, but I am unable to establish a connection with the board (see attached screenshot).Capture d'écran 2026-02-04 143222.png

Motor Characteristics:

  • Nominal Voltage: 12 VDC

  • Rated Speed: 10,000 rpm

  • Starting torque: 225 mNm

  • Rated Current: 2.18 A

  • Winding Resistance (phase-phase): 0.88 Ω

  • Winding Inductance (phase-phase): 0.331 mH

  • Pole Pairs: 7

Could you please help me identify the cause of the MC_DP_FAULT error and why the Profiler fails to connect?

Best regards,

Jules

Edit 05/02: I have managed to get the motor running; however, I am still unable to establish a connection to the board via Motor Pilot.

14 REPLIES 14
GMA
ST Employee

Hello @JulesC,

In the MC Pilot Logs tab, open the ST Motor Pilot.ini file shown at the line:
[INFO] - : ini file path=
In the 
ST Motor Pilot.ini file, set the following parameter:
TerminalVisible = true
Could you share the MC Pilot Terminal tab during the connection step?


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

Hello @GMA ,

Thank you for the instructions. I have updated the .ini file as requested. Here are the logs from the MC Pilot Terminal tab during the connection step:

Capture d'écran 2026-03-02 114551.png

Best regards,

Jules

Hello @JulesC,

MC Pilot sends a beacon message. Clicking on the ASPEP_BEACON message, MC Pilot displays the decoded message. The message is correctly decoded on the microcontroller unit (MCU) side. On the universal asynchronous receiver transmitter (UART) side, a BEACON response (0x05C70114) is sent, but MC Pilot does not receive it.
Check the USB cable and the STLINK-V3MINI. Try using another PC.

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

Hello ,

Thank you for your answer.
Actually my colleague and I found that the JP15 link (which should be closed by default) was open. Once we added a wire, we were able to connect to Motor Pilot successfully."

Best regards,
Jules

Hello @JulesC,

Thank you for your feedback.

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