PWM formula timer5 not work
I'm using STM32l152 and use TIM5_Ch2 for generate pwm .My target frquency pwm is 2.85 KHz .I using these parameter:clock frequency = 32MHz htim5.Init.Prescaler = 6; htim5.Init.Period = 100; I measured pwm on oscilloscope and I measure 2.85KHz with 5...