Attachments are accessible only for community members.
Oct 12, 2020
01:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 12, 2020
01:58 AM
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?
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?
- Tags:
- IFX
1 Reply
Oct 13, 2020
01:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 13, 2020
01:25 AM
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.
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.