STSW-SPIN3204 firmware questions
Hello Friends and ST engineer.
I am controlling BLDC motor using STSW-SPIN3204 firmware with Hall Sensor. But some functions I do not understand, please explain more detail for me.
- HAL_TIM_OC_DelayElapsedCallback: what is this function for? why we use output compare in input capture with hall sensor.
- MC_TIMx_SixStep_CommutationEvent(): @brief: Capture the counter value for which the hall sensors status changed and set the delay at which the HF_TIMx will change according to the new hall status value and hence new step.
I do not understand this function for what? please tell more detail for me
If you have the detail document, please give
Thank you so much.
Best regards.
