Attachments are accessible only for community members.
Anonymous
Not applicable
Mar 14, 2018
12:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 14, 2018
12:55 AM
Hello members
I do not know how to configure the PWM duty ratio.
For example, when setting the PWM as shown in the attached file (PWM_Configure.JPG)
How can I configure the duty ratio to 50% (H: 50, L: 50)?
Best Regards
Solved! Go to Solution.
1 Solution
Mar 14, 2018
01:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 14, 2018
01:25 AM
Hello.
Dutycycle of the PWM = Compare / (Period - 1)
In your configuration, with Period0 fixed at 100, you can get ~50% duty cycle by setting the Compare0 at 50.
Please let me know if you have more questions on this.
Regards
Nidhin
1 Reply
Mar 14, 2018
01:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 14, 2018
01:25 AM
Hello.
Dutycycle of the PWM = Compare / (Period - 1)
In your configuration, with Period0 fixed at 100, you can get ~50% duty cycle by setting the Compare0 at 50.
Please let me know if you have more questions on this.
Regards
Nidhin