Skip to main content
Associate II
Jun 17, 2026 05:58 UTC
Solved

configuration pin PA14 and PA13 in ST motor control workbench and STM32 cube MX

After creating the project from Workbench, I discovered that pins PA14 and PA13 in CubeMX were not working. I checked the Workbench settings again but couldn't find any parameters related to this issue. Without these pins, the motor cannot communicate. I also tried manually configuring them and the motor worked, but I think the Workbench setup would be better.

Schematic of B-G431B-ESC1 discovery kit
Cube MX
 

 

GMA
GMABest answer
ST Technical Moderator
Jul 6, 2026 05:49 UTC

Hello ​@Nguyen Hoc Vuong,

By default, Motor Pilot uses the STLINK Virtual COM port to communicate with the MCU board.

The UART is configured in the MC Workbench. Refer to the User interface tab.

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

2 replies

GMA
GMABest answer
ST Technical Moderator
Jul 6, 2026 05:49 UTC

Hello ​@Nguyen Hoc Vuong,

By default, Motor Pilot uses the STLINK Virtual COM port to communicate with the MCU board.

The UART is configured in the MC Workbench. Refer to the User interface tab.

If you agree with the answer, please accept it by clicking on 'Best answer'.Best regards.GMA
Associate II
Sep 15, 2026 07:56 UTC

thank you very much