Skip to main content
Associate
March 10, 2024
Solved

NUCLEO-H503RB motor drive USART communication

  • March 10, 2024
  • 3 replies
  • 1449 views

Hi, ST community.

I'm trying to drive a motor using Nucleo-H503RB. At that time, I am trying to change the USART pin of STLINK and connect it to Motor pilot, but it does not connect.

<Detail>

I want to use PB14 and PB15 for the STLINK USART pins instead of the default PA3 and PA4 (because I use PA4 as DAC).I changed the Nucleo-H503RB json file for Motor Workbench and solder bridge (SB2&SB3→SB18&SB22, SB19&SB33→SB20&23) to change the USART pin. In Motor Workbench, the USART pin has been changed from USART3 to USART1. However, it does not connect to Motor pilot.(Defalut setting (PA3 and PA4) were worked correctly. )

The software I use to generate F/W is Motor Workbench 6.2.1,  EWARM V8(but debug in V9), CubeMX6.10.0, STM32Cube_FW_H5_V1.1.1.
I will send you the Workbench file, json file I was change, and EWARM F/W file that I used.

 

 

This topic has been closed for replies.
Best answer by Kota

Thank you for supporting.

This problem was resolved.

The problem was that the USART pin was connected to the inverter pin. There was no problem with NecleoH503RB alone.

3 replies

Pavel A.
Super User
March 10, 2024

I changed the Nucleo-H503RB ........ solder bridge (SB2&SB3→SB18&SB22, SB19&SB33→SB20&23) to change the USART pin.

Have you verified that the UART works after this change? Do not connect the motor yet. Write a simple test for the UART (like, send and receive some data), make sure it works. Use a scope or logic analyzer.

Billy OWEN
ST Employee
March 11, 2024

Hi @Kota 

 

The forum moderator had marked your post as needing a little more investigation and direct support. An online support case has been created on your behalf, please stand by for just a moment and you will hear from us.

 

Regards,

Billy

KotaAuthorBest answer
Associate
March 11, 2024

Thank you for supporting.

This problem was resolved.

The problem was that the USART pin was connected to the inverter pin. There was no problem with NecleoH503RB alone.