I have a current transformer on the output of my inverter that is working as a feedback. From it i have a sinusoidal waveform that i want to find its phase shift in respect to pwm signal of stm32.
Is there a zero crossing detector inside the stm32 itself?