Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
Configure STM PWM
no vote
This example shows how to configure the TIM1 peripheral to generate 7 PWM signals  with 4 different duty cycles (50%, 37.5%, 25% and 12.5%). TIM1CLK = SystemCoreClock, Prescaler = 0, TIM1 counter clock = SystemCoreClock SystemCoreClock is set to 72 MHz for Low-density, Medium-density, High-density and Connectivity line devices. For Low-Density Value line, Medium-Density and High-density Value line devices, SystemCoreClock is set to 24 MHz.
simaozil
2016-08-23
1
1
No more~