Microchip
直播中

卢灏

8年用户 149经验值
私信 关注
[问答]

dsPIC33EV上的MCC PWM模块设置没有成功

你好,我是这个论坛的新手,我试图在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 compilation 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

回帖(2)

葛睿洁

2019-5-17 14:57:23
HiMCC团队正在对此进行研究。您将在最早更新。

以上来自于百度翻译


      以下为原文

    Hi
MCC team is working on this. You will be updated at the earliest.
 
Thanks
MCC Team
举报

葛睿洁

2019-5-17 15:16:20
您好,请找到附带的屏幕截图。结果1具有MCC配置的波形。(2kHzPWM)结果2具有当MCC配置被使用main.c文件中的API覆盖时的波形。项目工作良好。

以上来自于百度翻译


      以下为原文

    Hi
Please find the screenshots attached.
Result 1 has waveform for the MCC configurations.(2kHz PWM)
Result 2 has waveform when MCC configurations are overridden using APIs in the main.c file
 
The project works fine.
 
Thanks
MCC Team
   Attached Image(s)

举报

更多回帖

发帖
×
20
完善资料,
赚取积分