Search code examples
ctimerstm32pwmstm32f4

Can a pwm signal be provided by only one channel on one timer?


I initialized PWM configuration in 4 channels on a timer, but only the last channel I set works. Does that mean only 1 channel can work at a time?


Solution

  • no. as many as supported by the timer. PWM channels using the same timer will have the same frequency.