Using HRTIM with brushless motor with BEMF zero crossing
As I understand it, when using BEMF feedback, the BEMF from a phase is compared to the "center tap" voltage and the output is used to capture a timer's count. This count is used to determine when to commutate the motor.
The comparator output is noisy, so, windowing is used to detect the transition. Essentially, the comparator signal is sensed during a portion of the PWM cycle - away from the switching edge.
Has anyone implemented this on an ST part using the HRTIM? If so, can you share details around what you did and how you configured the HRTIM?
If you haven't done this using the HRTIM, what about the other ST timers? If so, can you share details on how you did this?
Thanks.
