sync PWM to external phase and fequency

I know the arduino's have variable PWM outputs based on the chips clock and phase. Can the arduino PWM match an external phase and frequency of 60hz?

Would this function take up most of the processing time available?

External hardware circuitry is fine as I can provide the arduino with what ever reference signals possible.

60Hz is a walk in the park. If all you're doing is toggling a few pins then you could probably hit several kHz.

Why what is it your trying to do?

Mark

Intent is software controlled light dimming. The arduino wont control the high voltage directly, a Thyrister will. But the arduino needs to send the PWM signal in phase with the 60Hz high voltage. I cant seem to figure out how to get the arduino to match the HV phasing.

z2012: I cant seem to figure out how to get the arduino to match the HV phasing.

Generally this is done with a zero-crossing detector such as the Vishay H11AA1.

What you are asking about has been done very many times. Google “arduino phase control”.