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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,439 Views
liuzhen
Contributor I

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

Labels (1)
Tags (1)
0 Kudos
3 Replies

1,210 Views
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 Kudos

1,210 Views
liuzhen
Contributor I

没有看到例子啊

0 Kudos

1,210 Views
liuzhen
Contributor I

不好意思啊,找到了

0 Kudos