Firmware · Timers and PWM
Many PSC and ARR pairs give the same period, and the right one is the pair whose ticks are fine enough for the job.