Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
xiphi
Level 3
Level 3
First like received 10 questions asked 25 sign-ins

您好,请问有可以在DAVE4中更改配置的CCU4_PWM实例吗?

如果需要两个独立的PWM控制不同的IO引脚,一般情况是配置两个CCU4切片吗,有没有更简单的办法?

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

我把链接的工程下载下来放到附件里面了,请参考哦。

View solution in original post

0 Likes
7 Replies
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

请参考链接:https://www.infineon.com/dgdlc/en?dcId=8a8181663431cb50013431cb500b0000&downloadTitle=Infineon-CCU4-...

如果用两路PWM,是需要CCU4的两个slice的。这个内部的结构见下面图:

LinglingG_46_0-1692589026313.png

如果有需要可以看下面这个中文的文档:https://www.infineon.com/dgdl/Infineon-XMC1300-RM-CN-UM-v01_00-CN.pdf?fileId=db3a3043416e106e01416e3...

能否详细的描述一下,你想在应用的哪方面获得更加方便的体验?

 

 

0 Likes

您好,我现在需要用两个io的pwm功能去控制外设,它们的控制手段基本相同。我是想知道可以一次性配置两个PWM吗?

能麻烦您给我一些有关XMC1404芯片的CCU4_PWM功能使用案例吗?

0 Likes
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

你在CE的工程里面拖两个PWM的组件,然后配置一下,启动就可以了。

我上次回复的时候给你的链接里面有测试代码。你可以看一下。两路的你如果配置完全相同,同意用同样的配置结构体进行配置。

0 Likes

好的,十分感谢。上面的连接我下载下来是一个exe文件,我暂时没有权限打开它

0 Likes
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

直接点击安装可以吗?我们给别人的时候都是可以的。

0 Likes
lock attach
Attachments are accessible only for community members.
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

我把链接的工程下载下来放到附件里面了,请参考哦。

0 Likes

十分感谢您的回答

0 Likes