Many posts here deal with the quadrature encoder hardware on the XMEGA, but I have a different problem: I don't need to DECODE quadrature signals, I need to CREATE them. I need two squarewaves 90 degrees out of phase, with variable frequency up to 100kHz. Ideally, this would be a single-timer solution, with no CPU intervention other than setting up the operating conditions. I would also like to easily be able to change the direction of the signals, i.e., change which signals leads and which lags.
Have any of you solved such an problem? If so, I would love to hear how you did it. Thanks in advance!