Skip to main content
Visitor II
October 7, 2024
Question

PWM highlight Timer

  • October 7, 2024
  • 1 reply
  • 489 views

Hello, I am new in STM32Cube. I try some test with PWM timer 4. It  works. I see the signal on oscilloscope. But why is not in clock configuration  highlighted the timer clock and I can not also change the clock source.

Best regards.

Scipio_0-1728316741615.png

 

Scipio_1-1728316770363.png

 

    1 reply

    waclawek.jan
    Super User
    October 7, 2024

    Which STM32?

    In most STM32, if the respective APB divider is >1, the timer's clock frequency is fixed at APB frequency x2, so you can change it only by changing the APB clock frequency.

    JW