XMC1400 bootkit CCU8

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

cross mob
lock attach
Attachments are accessible only for community members.
OlCh_4641241
Level 1
Level 1
First like given
Hi
I tried to change PWM duty using shadow transfer function with PCLK = MCLKx2.
So, Automatic transfer is not work, then I write 0x1111 in GCSS register.
CC1 to CC3 is work but CC0 doesn't generate pwm when write 1 in LSB of the GCSS register.
when I write 0x1110 to GCSS register, CC0 is work, but I cant using shadow transfer function.

I used DAVE APP and change duty of the PWM CC0 to CC2 in CC3 period match irq.

I attached my project file.

Is there any solution about this?
0 Likes
1 Reply
OlCh_4641241
Level 1
Level 1
First like given
I resolved this problem to use slice configure API instead of pwm API.
In slice configure API, automatic shadow transfer with PCLK==MCLK and sw triggered shadow transfer with PCLK == MCLKx2 are work.
But like I attached, CC0 doesn't work when I trying to use shadow transfer function with pwm API.
0 Likes