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

XMC™ Forum Discussions

FeAs_4655086
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins
Having problems simulating CCU8 shadow register pwm update with design.infineon.com online simulation tool.
0 Likes
9 Replies
User12775
Level 5
Level 5
First like received
The
problems
are
what?

What
are
the
problems?
0 Likes
FeAs_4655086
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins
After updating the compare register. The corresponding pwm signal does not reflect changes.
0 Likes
jferreira
Employee
Employee
First like received 750 replies posted 500 replies posted
Hi,

Did you request the shadow transfer using the GCSS register?
Look to function XMC_CCU8_EnableShadowTransfer()

Regards,
Jesus
0 Likes
FeAs_4655086
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins
Used Charger.ccu8_module_ptr->GCSS= 0x1. Charger being the renamed instance label.

Regards,
Feyi
0 Likes
FeAs_4655086
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins
jferreira wrote:
Hi,

Did you request the shadow transfer using the GCSS register?
Look to function XMC_CCU8_EnableShadowTransfer()

Regards,
Jesus


The PWM updates outside the interrupt routine but not within the Compare Match Routine that is called when Compare Register 2 Matches When Counting Up.
0 Likes
FeAs_4655086
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins
Hi,

Has CCU8 peripheral simulation been implemented on design.infineon.com? I tried simulation on Keil and found CCU8 simulation has not been implemented.

Feyi Asgill
0 Likes
Not applicable
For example 'XMC1300 LED Current Controller Explorer - Example A3' uses CCU8 .
0 Likes
FeAs_4655086
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins
If i am not mistaken. The example quoted uses the brightness and control unit not CCU8. I am talking about CCU8 using Compare Register or Period Register Interrupt implementation.
Thanks
Feyi Asgill
0 Likes
Not applicable
This example uses BCCU and CCU8.
0 Likes