MCWorkbench Generated Project does not start properly (B-G431B-ESC-1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-26 12:40 AM
Hi, I am having a trouble using MCWorkbench 6.1.1
When downloading a project generated from MCWorkbench demo to my B-G431B-ESC1, this happens
(the rotor moves for some angle per each second while making a wierd noise. It temporarily stops when I push the start/stop button in the ESC(ESC generates low beep sound))
ST-Link FW : V2J41M27
Demo : Electronic Speed Control on B-G431B-ESC1 kit
I did not modify any .ioc file(cubeMX) or .cproject
Any advice would be helpful.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-26 1:30 AM - edited ‎2023-06-26 1:31 AM
If you want to use the "electronic speed controller" of this board:
The electronic speed control (ESC) feature allows to control the motor speed with a PWM signal in input, for example on the B-G431B-ESC1 boards it is possible to use this feature to control the motors of a drone sending a PWM signal with a different duty cycle to switch the motor to armed, armed with a minimum speed, armed with a maximum speed and unarmed state.
You can find more details on this example on this link : click here
on the chapter "Connection and first execution of the electronic speed controller (ESC) program"
otherwise, you can generate a project by pressing "new project" in the workbench, import your profiled motor, generate and flash the project and control your motor with the Motor Pilot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-26 12:55 AM
Hello, can you try with the MCSDK 6.1.2, first launch the motor Pilot, then select the Motor Profiler, profile your motor, save this profiled motor, then launch the Workbench, select your Inverter, then load it saved motor, make the necessary configuration, and try with the generated firmware.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-26 1:13 AM
same thing happens with a different sound (starting with three gradually increasing beeps, followed by mid-tone beep per second)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-26 1:15 AM
additionally for each beep, the current rises from 0.02A to 0.30A ~0.60A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-26 1:20 AM
Did you use the default project (number one) or generate a new project (number 2)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-26 1:21 AM
I used the default project
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-26 1:30 AM - edited ‎2023-06-26 1:31 AM
If you want to use the "electronic speed controller" of this board:
The electronic speed control (ESC) feature allows to control the motor speed with a PWM signal in input, for example on the B-G431B-ESC1 boards it is possible to use this feature to control the motors of a drone sending a PWM signal with a different duty cycle to switch the motor to armed, armed with a minimum speed, armed with a maximum speed and unarmed state.
You can find more details on this example on this link : click here
on the chapter "Connection and first execution of the electronic speed controller (ESC) program"
otherwise, you can generate a project by pressing "new project" in the workbench, import your profiled motor, generate and flash the project and control your motor with the Motor Pilot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-26 2:14 AM
I understand. I will try to build a new project. Thanks for the reply
