你好,我是这个
论坛的新手,我试图在dsPIC33EV256GM102上建立一个PWM模块,但是没有成功。我使用了最新版本的MPLA(v3.5,MCC v3.26.2和XC16 v1.3)编译工作正常,但是在PWM1L和PWM1H上没有信号(如果选择了参数,我应该有一个2kHz的PWM占空比c)。循环50%)我已经在另一个DSPIC上手动设置了一个PWM,但是我不能用MCC来做。到目前为止,我使用OC模块来生成PWM……我想知道是否有人已经用MCC设置了PWM模块,我可能会错过检查一些参数吗?谢谢你的帮助
以上来自于百度翻译
以下为原文
Hello,
I'm new to this forum, I've tried to setup a PWM module on a dsPIC33EV256GM102 without success.
I use the latest version of MPLAB (v3.5, MCC v3.26.2 and XC16 v1.3)
The compila
tion works fine but there is no signal on PWM1L and PWM1H (with the parameters selected, I should have a 2kHz PWM duty cycle 50 %)
I've already setup manually a PWM on an other dsPIC but I was unable to do it with MCC.
So far by now I use the OC module to generate the PWM...
I would like to know if someone has already setup the PWM module with MCC, may be I missed to check some parameters ?
Thanks for you help
Attachment(s)
PWM.X.zip (202.54 KB) - downloaded 170 times