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

Not sure If I correctly understand your question. I'm using the B-G431-ESC1 board, with the daughter board not removed, USB cable that comes with the board, 24V 2A power supply, motor is 2810 900Kv 6s 7pole pair.

STlink V2-1, stlink 007 and 009 drivers, latest firmware upgraded via cube programmer.

Baud rate is set the same in: MCSDK, Cube MX, motor profiler, virtual com port - 115200.

IMG_20260103_083955.jpg

IMG_20260103_084102.jpg

If it will work one day I would like to use PWM to control the motor.

 

 

 

 

Kamil1
Associate III

There is no information about such an adapter needed in user manual,

 

also on this video there is not anything like that connected to the board.

https://www.youtube.com/watch?v=YSI_pBACLOo

Ok, i use external serial port device. The below link will also be useful to read.

STM32 MC Motor Pilot - Start-up guide - stm32mcu

 

Kamil1
Associate III

Thanks, that Start-up guide is interesting and useful, however without successful connection...

Ok, that sipmle UART test that I have made couldn't work, the Tx Rx signals were sent probably to the Tx Rx pins on the board not through st-link...

 

Is there any way how to check if the firmware is running and the UART is communicating? 

 

Hi @Kamil1 ,

Could you explain why you changed the baud rate to 115200? The default value is 1843200.

Duc_1-1767502536178.png

I also have a project for the B-G431-ESC1. Could you please try it on your side without changing anything in my code? This project runs FOC, not the motor profiler. Please flash it to your board and confirm whether the UART is working correctly.

Kamil1
Associate III

Hi Duc, thank you for the your foc project, I'm going to flash it to the board and lets see if there will be successful connection to the motor profiler.

 

There are two reasons why I have changed the baudrate to 115200.

first: I was following this video

https://youtu.be/YSI_pBACLOo?si=puo3IlvAi9nuM24o

 

and second - there is no option for 1843200 in properties of virtual com port.

Kamil1_0-1767515418287.png

 

Kamil1
Associate III

I have used your foc nanotec project, build and run, however I'm still getting the same issue:

Snímek obrazovky 2026-01-04 103615.png

 

Port Open, try to configure the board,

aspep beacon timeout 500ms

Kamil1_1-1767520322314.png

 

Why did you configure the baud rate to 115200 when this setup operates at 1843200?

Duc_0-1767520675765.png