Sep 26, 2021
11:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 26, 2021
11:27 PM
Hello.
I am working on a simple pulse generator using Dave App PWM_CCU8. The configuration of one of these slices is:
- Channel 1 direct output, passive state=After Compare Match, passive state=Low.
My question: How can the output forced to its passive level?
I found in this form the thread "https://www.infineonforums.com/threads/4670-XMC4500-how-to-force-CCU-slices-to-their-passive-levels", but for me, it is unfortuately not exactly enough. For example, when I set the PWM into multichannel mode (Channel 1 enable), the PWM generation doesn't start.
Can please someon provide a more complete example?
Regards, j.
I am working on a simple pulse generator using Dave App PWM_CCU8. The configuration of one of these slices is:
- Channel 1 direct output, passive state=After Compare Match, passive state=Low.
My question: How can the output forced to its passive level?
I found in this form the thread "https://www.infineonforums.com/threads/4670-XMC4500-how-to-force-CCU-slices-to-their-passive-levels", but for me, it is unfortuately not exactly enough. For example, when I set the PWM into multichannel mode (Channel 1 enable), the PWM generation doesn't start.
Can please someon provide a more complete example?
Regards, j.
Solved! Go to Solution.
1 Solution
Sep 27, 2021
01:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 27, 2021
01:39 AM
A simple way to force the PWM output pins to their passive levels is to set their duty cycles, for example:
to 0% if the passive state of direct output is Low Before Compare match.
to 100% if the passive state of direct output is Low After Compare match.
It looks for me like a workaround, but it seems to work.
to 0% if the passive state of direct output is Low Before Compare match.
to 100% if the passive state of direct output is Low After Compare match.
It looks for me like a workaround, but it seems to work.
2 Replies
Sep 27, 2021
01:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 27, 2021
01:39 AM
A simple way to force the PWM output pins to their passive levels is to set their duty cycles, for example:
to 0% if the passive state of direct output is Low Before Compare match.
to 100% if the passive state of direct output is Low After Compare match.
It looks for me like a workaround, but it seems to work.
to 0% if the passive state of direct output is Low Before Compare match.
to 100% if the passive state of direct output is Low After Compare match.
It looks for me like a workaround, but it seems to work.
Nov 26, 2021
01:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 26, 2021
01:39 AM
Hi @User15370 ,
Yes, your workaround appears to work.
However, could you share the project or screenshots of the PWM_CCU8 configuration?
Regards,
Nikhil