cancel
Showing results for 
Search instead for 
Did you mean: 

B-G431-ESC1 motor profiler connection

Kamil1
Associate III

Hi, I'm trying to connect B-G431-ESC1 board, with no success. 

there is always : try to configure the board

Kamil1_0-1766945089159.png

I complile and flash a sample project successfully on the board. However still cannot connect motor profiler to make precision tuning of the motor. Any ideas why it cannot connect?

 

Thank you, Kamil

24 REPLIES 24
STuser2
Senior III

If you connected with serial port, try with different baud rates it may help sometimes. 

Thank you for the tip, I have tried all of the baud rates, however it didtn't help...

 

When I try to connect the STM32cube programmer via ST-link, it works.

Kamil1_0-1767110950106.png

But when I try to connect via UART, I get this

Kamil1_1-1767111019750.png

Is it possible that it is the same problem? How can I change the boot mode configuration?

Thank you for any help

 

I am confused when you are trying to connect to motor profiler, you need to open the Motor profiler software and then connect using the serial port. Are you trying to flash the code using serial port similar to the STLink, i am not sure what exactly you are trying to do.

Hi, I'm trying to find out why the motor profiler, or the UART comunication, is not working.

here are the steps that I have done:

1. setting the project in MCWB, check the motor profiler box, set baudrate 115200

Kamil1_0-1767166257886.png

 

Kamil1_1-1767166354354.png

 

same baudrate as virtual com port in win11

Kamil1_2-1767166552367.png

 

2. generation of the project without any errors

Kamil1_3-1767166961944.png

3. generatig code in MX

Kamil1_4-1767167206350.png

4.build the project in IDE

Kamil1_5-1767167610923.png

5.flash the project on the board in IDE

Kamil1_6-1767167727737.png

 

When I push the button on the board, motor starts spinning somehow, but I would like to tune the motor parameters in motor profiler, which I can't connect.... Why? Am I missing something?

Kamil1_7-1767168068844.png

 

Thanks for any help

Kamil1
Associate III

I have also tried to flash firmware from MC SDK 6.2.0. with the STM32CubeProgrammer

Kamil1_0-1767355301797.pngKamil1_1-1767355386809.png

however, there is still the same problem.

Kamil1_2-1767355465633.pngKamil1_3-1767355522932.png

Is there any chance to get help from ST?

Kamil1
Associate III

Thank you for tips, unfortunatelly nothing helped...

I have followed this tutorial

https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Step3_Introduction_to_the_UART

Kamil1_0-1767398723718.png

 

however, there is no "Hello world!!!" in the TeraTerm....

any clues?

Thank you

 

What is the serial port hardware device you are using?

Have you connected the

Micro Tx -> Serial Port Rx

Micro Rx -> Serial Port Tx

Baud rate setting using code generation should match with the motor profiler baud rate.