Search found 2 matches

by el_fela
Sat May 14, 2022 5:32 pm
Forum: General discussion
Topic: Adding Timer 2nd PWM channel breaks execution
Replies: 2
Views: 1277

Re: Adding Timer 2nd PWM channel breaks execution

Hello @ABOSTM , thank you sooo much! That was it!

I didn't know PB0_ALT1 was different from PB0, that seemed kinda confusing. But now I'll keep the pinmap information at hand.

Thanks again!!! :D
by el_fela
Fri May 13, 2022 3:31 pm
Forum: General discussion
Topic: Adding Timer 2nd PWM channel breaks execution
Replies: 2
Views: 1277

Adding Timer 2nd PWM channel breaks execution

Hi everyone, I'm struggling with the use of a 2nd or 3rd PWM channel on one timer. CORE STM32 official, stm34f411ce6 (blackpill) For example, the following code works: HardwareTimer *htim2 = new HardwareTimer(TIM2); HardwareTimer *htim3 = new HardwareTimer(TIM3); void setup() { htim2->setPWM(1, PA5,...

Go to advanced search