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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,212件の閲覧回数
jaky0
Contributor I

Hi,

 

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.

ラベル(1)
0 件の賞賛
返信
1 返信

610件の閲覧回数
Xbot
Contributor II
make sure the oscilloscope ground connects to ground of your system in test.
0 件の賞賛
返信