The wave of PWM output

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

The wave of PWM output

1,830件の閲覧回数
lpheni
Contributor I

Greetings,

 

I use gpio1_11 as PWM2 output.

 

After I set the PWM output, if the frequency is set to 8KHZ, period = 125000, duty_cycle = 62000, then the output is a square wave. If set to 8MHZ then the output is sine wave,period = 125, duty_cycle = 62.

 

Can you help me find out what the reason is? Thank you!

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

1,755件の閲覧回数
lpheni
Contributor I

Hello, this problem is caused by the oscilloscope. After replacing the oscilloscope, the output is square wave.

 

Thanks!

0 件の賞賛
返信

1,789件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Please refer https://bbs.21ic.com/icview-3304758-1-1.html

Best Regards
Zhiming

0 件の賞賛
返信

1,821件の閲覧回数
lpheni
Contributor I
 
0 件の賞賛
返信