Kai Jiang

[Help]Why my PWM output is AC (sine wave) not DC??

Discussion created by Kai Jiang on Oct 3, 2009
Latest reply on Oct 5, 2009 by Xbot



I v use S12xe, the board is i made myself, now I want to use PWM to output 2.5V DC (50% Duty), I v not use filter circuit, just direct connect with the PWM output pin, but the funny thing is the output is 2.5 v AC   (from the oscillograph, i v got a sine wave), the frequence i set to 1MHz, i v use both hardware PWM and software PWM, the situation is the same. Is some one can help me to give some advise, that maybe  where is the problem, thanks  a lo.