How to adjust duty cycle of stm32 L151?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-13 9:09 PM
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-13 9:43 PM
Duty cycle = PWM made with output channel compare, with fixed period. Check apis for this.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-14 12:06 AM
Or just read the TIM chapter in Reference Manual and proceed accordingly, by writing into respective TIMx_CCRx register.
​
JW​
