Thank you very much for the answer! This explains a lot of things... Hopefully UP will change their documentation in the future.
Have a great week!
Search found 3 matches
- Mon Apr 04, 2022 7:07 am
- Forum: General discussion
- Topic: HardwareTimer Library PWM Settings
- Replies: 5
- Views: 4961
- Fri Apr 01, 2022 1:32 pm
- Forum: General discussion
- Topic: HardwareTimer Library PWM Settings
- Replies: 5
- Views: 4961
Re: HardwareTimer Library PWM Settings
Hi ABOSTM
Thank you for the response. I could only do some tests today. Unfortunately your code gives me the same result, e.g. a period of 3000 us. I thought all bluepill (stm32f103c8) boards run at the same frequency. So I maybe should have mentioned that I have an UpBoard Xtreme with an ...
Thank you for the response. I could only do some tests today. Unfortunately your code gives me the same result, e.g. a period of 3000 us. I thought all bluepill (stm32f103c8) boards run at the same frequency. So I maybe should have mentioned that I have an UpBoard Xtreme with an ...
- Mon Mar 28, 2022 5:48 pm
- Forum: General discussion
- Topic: HardwareTimer Library PWM Settings
- Replies: 5
- Views: 4961
HardwareTimer Library PWM Settings
Hi,
So I have setup a PWM generating firmware on a Bluepill board (STM32F1) to control some ESC's, but when I measured the outcome with the oscilloscope, the pulse width was not as I calculated it. So to be a bit more concrete, I set up my timer as follows:
// Using TIM4 and corresponding ...
So I have setup a PWM generating firmware on a Bluepill board (STM32F1) to control some ESC's, but when I measured the outcome with the oscilloscope, the pulse width was not as I calculated it. So to be a bit more concrete, I set up my timer as follows:
// Using TIM4 and corresponding ...