Engineering tools are available only on desktop screens.
Prescaler, period (ARR), and duty register from MCU timer clock and target PWM frequency. Picks the smallest prescaler that fits the timer width, maximising resolution.
ARR = fclk / (prescaler × freq) − 1
CCR = (duty / 100) × (ARR + 1)