2023-04-18 04:17 PM
Is there a parameter where I can set the motor speed so that when the board is powered on the motor starts at a given rpm?
I am fairly new to this but have managed to get a motor profile and generated a code but my knowledge stops there.
board: B-G431B-ESC1
2-pole motor
open loop, no sensor.
2023-09-06 09:10 AM
Dear MEika.1,
Firstly, we would like to sincerely apologize for the delay in replying to your post.
If your point is still pertinent, on main.c file, after the last init function call (usualy NVIC init), you can call the available APIs (located in mc_api.c file) as MC_ProgramSpeedRampMotor1_F in order to set a targeted speed and MC_StartMotor1 to start the motor.