2020-12-06 02:33 AM
I tried to run a motor(BLDC).But, my motor doesn't run.
I refered to this PDF to page 45~.
I wrote a code.
I use
ESC : B-G431B-ESC1
Motor Control Workbench 5.4.3
Motor Profiler 5.4.3
STM32CubeMX 5.6.1
STM32CubeIDE 1.5.0
This code is generated by Motor Control Workbench.
The setting is default.
I only added that code.
Please help me how to run my motor using API.
by the way , I checked to run using Motor Profiler or Motor Control Workbench.
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
//MC_AcknowledgeFaultMotor1();
MC_ProgramSpeedRampMotor1(2000/6, 5000);
MC_StartMotor1();
HAL_Delay(10000);
MC_StopMotor1();
HAL_Delay(5000);
MC_ProgramSpeedRampMotor1(-2000/6, 5000);
MC_StartMotor1();
HAL_Delay(10000);
MC_StopMotor1();
HAL_Delay(5000);
}
/* USER CODE END 3 */
2020-12-31 09:04 AM
Dear @Community member
Sorry for the late answer.
Do you have still this problem to solve?
And just in case, if not, do not hesitate to share the final solution you found. Thanks by advance.
Best regards
Laurent Ca...
2021-06-21 12:39 PM
The question has been set only to the "STM32 Motor Control" topic (the question is only about the STM32 MC SDK).
Best regards
2022-02-18 03:20 AM
Hi!
Could you share the solution of your problem? I have the same and I don't find any information about this.
Kind regards.
FRancisco