Evaluation board: drv8301-hc-evm revd
Lab 10e Flying Start
Flying start only lets the program execute motor_RunCtrl (ctrlHandle) in while (); to start and stop the control motor. If I repeatedly execute HAL_disablePwm (halHandle) when the motor stops, flying start can not start the motor properly. If there is no flying start routine, the motor start will not be affected.
I want to change USER_MOTOR_MAX_CURRENT in while () to achieve output torque limitation after motor_Run Ctrl (ctrl Handle); control motor stops; but in order to effectively change output torque, we must also implement CTRL_setParams (ctrlHandle, & gUser Params); at this time, the motor does not turn, but also has PWM output.
Connecting the motor does not perform motor_Run Ctrl (ctrl Handle); the motor may turn automatically, which is very dangerous, unless HAL_disablePwm (halHandle) is repeatedly executed when the motor stops, the PWM can be turned off, but flying start can not start the motor normally, requesting guidance.