我正在使用MC56F8245,遇到一些问题。

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

我正在使用MC56F8245,遇到一些问题。

1,522件の閲覧回数
liuzhen
Contributor I

我的PWM模块中断可以正常工作,且电路连接也是好的,但是在PWM的输出口测不到波形。下面是我的具体配置过程和测试代码。希望能尽快得到解决!

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

1,293件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,刘振,

I attach an example which use Init_eFlexPWM beans, but it does not use PWM_MC beans. Regarding your question, pls check if you have configured the GPIO pin as peripheral pin by setting the corresponding bit in GPIOx_PER. Pls check if you have enabled the PWM clock by setting the SIM_PCE2 register.

If you can not output PWM signals, pls update the community.

BR

XiangJun Rong

0 件の賞賛

1,293件の閲覧回数
liuzhen
Contributor I

没有看到例子啊

0 件の賞賛

1,293件の閲覧回数
liuzhen
Contributor I

不好意思啊,找到了

0 件の賞賛