Need to know how to start PWM with slow increase in duty cycle(SOFT START LIKE RAMP FUCNTION) slowy increase from 0% to some set duty cycle
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-07 11:56 PM
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-08 12:04 AM
You do this by changing the PWM duty cycle by changing the content of respective TIMx_CCRx register.
JW
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-08 2:20 AM
it should change on its own..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-08 3:36 AM
Then use DMA, triggered from the timer's Update event, to reload TIMx_CRRx from a precalculated table upon each cycle.
JW
