Stm32f103 nucleo board with cubemx, variable pwm out
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-05-03 10:53 AM
Posted on May 03, 2016 at 19:53
hello
im working with a nucleof103 and the cubeMX HAL library. i managed so far to get a steady pwm out via tim3_ch1 on PA6. but id like to change the DC after each periode, therefore enable interrupts and change then the registers value. but so far, i did not find any function from the HAL library except to completely reinit the entire timer structure. i guess i have to write the the register directly. i dont know yet which one, do i have to write my new pulse width to the ARR or the CCR register?
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-05-06 7:34 AM
Posted on May 06, 2016 at 16:34
Hi am.lu,
Please try to create one only thread for the same subject. Refer to my response in the other [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/NucleoF103%2c%20CubeMX%20HAL%2c%20PWM%20Out%20Tim3CH1&FolderCTID¤tviews=23]discussion -Hannibal-Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-05-06 10:52 AM
Posted on May 06, 2016 at 19:52
ARR Period, CCR Phase/Duty
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
