Are you variing the time with the duty cycle? Most people only measure at the middle of the cycle, that only works up to 70-80% duty cycle. Above that, the signal gets noisy. Then you have trigger the ADC conversion at a different time. Always make sure, that you read from the two phases with...