4 PWM outputs from one CCU8x slice

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

cross mob
User6412
Level 4
Level 4
Hello!

Every CCU8x slice has 4 outputs (2x Compl. Outputs). But there is no App to configure 4 PWM outputs (2 x complementare pairs) pro one CCU8x slice.
For example, I need the following implementation:

Slice 0:

First Compl. pair:
CCU81/0 out10
CCU81/0 out11

Second Compl. pair:
CCU81/0 out12
CCU81/0 out13

Both pairs uses the same Timer and Period Register, but different Compare Registers. And all this in the same slice.

Any ideas?
0 Likes
3 Replies
Not applicable
Hi Dmitry,

I found the same problem a few days ago. ElegantK replied...

Both the PWMSP002 and PWMMP001 are constrainst by the Maximum resource requirement of Asymmetric PWM.
The pins assignment are restricted to OUTy0, OUTy1.
OUTy2 and OUTy3 are not available.
Thus, P5.1 is not available in the manual pin assignment list.

When you "manually" configured the OUTy2 and OUTy3 using the App as a baseline.
You have to take care that the API will most probably change the value of compare channel 1 only.
For OUTy2 and OUTy3, you will have to "manually" configure compare channel 2 to change the duty cycle.


Here is the link to my original post....
http://www.infineonforums.com/threads/779-PWM-output-on-xmc4500-pin-P5.1-(CCU81.OUT32)

So I believe it is not possible to use CCU81/0 out12 or CCU81/0 out13

Best regards
Aaron
0 Likes
Not applicable
Hi Dmitry & Aaron,

A new PWM App has already been planned to provide the configuration of generating 4 PWM outputs (2 complementary pairs) from one CCU8x slice. We will inform you once released, thanks.

Best regards,
Sophia
0 Likes