2025-12-28 10:29 AM
Hi, I'm trying to connect B-G431-ESC1 board, with no success.
there is always : try to configure the board
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
2026-01-03 1:51 AM
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.
If it will work one day I would like to use PWM to control the motor.
2026-01-03 2:57 AM
FT232RL USB TO TTL 3.3V/5V FTDI Serial Adapter Module Pinout, Features, Datasheet
You have to device similar to above 3.3V version.
2026-01-03 4:41 AM
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.
2026-01-03 5:08 AM
Ok, i use external serial port device. The below link will also be useful to read.
STM32 MC Motor Pilot - Start-up guide - stm32mcu
2026-01-03 6:53 AM
Thanks, that Start-up guide is interesting and useful, however without successful connection...
2026-01-03 10:35 AM
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?
2026-01-03 8:54 PM - edited 2026-01-03 8:55 PM
Hi @Kamil1 ,
Could you explain why you changed the baud rate to 115200? The default value is 1843200.
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.
2026-01-04 12:30 AM
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.
2026-01-04 1:53 AM
I have used your foc nanotec project, build and run, however I'm still getting the same issue:
Port Open, try to configure the board,
aspep beacon timeout 500ms
2026-01-04 1:59 AM
Why did you configure the baud rate to 115200 when this setup operates at 1843200?