2024-05-29 03:27 AM
HELLO,
Can you please suggest us any mcu having internal block for zero crossing detection in stm32 for 50 - 60hz frequency signals or any slave chips that are dedicated for zero crossing detection.
Thank you,
Krishna.
2024-05-29 05:14 AM
Welcome @Krishna36, to the community!
This is a recurring question for which you will find several entries here in the community, e.g. this one.
Hope that helps?
Regards
/Peter
2024-05-29 06:07 AM
How large is your 50 Hz? What is your timing requirement?
Probably you can use a STM32 with comparator and use the 50 Hz offset to about half the supply voltage compared to half the supply voltage. I would use an external comparator with common mode input to some - 100 mV put a fitting resistor in the 50 Hz line, clip the voltage with two antiparallel schottky diode and compare against ground.