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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,516 次查看
liuzhen
Contributor I

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

标签 (1)
标记 (1)
0 项奖励
3 回复数

1,287 次查看
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,287 次查看
liuzhen
Contributor I

没有看到例子啊

0 项奖励

1,287 次查看
liuzhen
Contributor I

不好意思啊,找到了

0 项奖励