How to set ARR and PSC for 20kHz Center-Aligned PWM with TIM1 and resolution over 1000?
Hi,I'm using STM32F103RB (NUCLEO-F103RB) and I configured the clock system in STM32CubeMX.I am using HSI as the clock source, and the APB2 timer clock is running at 64 MHz.I want to generate 20kHz PWM signals using TIM1 Channel 1, 2, and 3, and I’ve ...