X-CUBE-SPN7 for X-NUCLEO-IHM07M1
|
Middlewares Layer. More...
Modules | |
MC_6-STEP_LIB | |
Motor Control driver. | |
UART_UI | |
Serial communication through PC serial terminal. | |
Detailed Description
Middlewares Layer.
****************************************************************************
###### Main functions for 6-Step algorithm ######
The main function are the following:
1) MC_SixStep_TABLE(...) -> Set the peripherals (TIMx, GPIO etc.) for each step 2) MC_SixStep_ARR_step() -> Generate the ARR value for Low Frequency TIM during start-up 3) MC_SixStep_INIT() -> Init the main variables for motor driving from MC_SixStep_param.h 4) MC_SixStep_RESET() -> Reset all variables used for 6Step control algorithm 5) MC_SixStep_Ramp_Motor_calc() -> Calculate the acceleration profile step by step for motor during start-up 6) MC_SixStep_NEXT_step()-> Generate the next step number according with the direction (CW or CCW) 7) MC_Task_Speed() -> Speed Loop with PI regulator 8) MC_Set_Speed(...) -> Set the new motor speed value 9) MC_StartMotor() -> Start the Motor 10)MC_StopMotor() -> Stop the Motor
Generated on Fri Sep 11 2015 16:47:21 for X-CUBE-SPN7 for X-NUCLEO-IHM07M1 by 1.8.9.1