STM32H7 TIM1 PWM Issue
I am attempting to use TIM1 CH1 to produce a 4MHz PWM with 50% duty cycle, to be used as a clock input to a knock sensor. TIM1 is on the APB2 Timer Clock with I have configured at 200 MHz:
To get a 4MHz frequency I have PSC = 0 and the ARR/Counter period 49:

Here are the rest of the settings for break and dead time (not used) and PWM Generation Channel 1:

When I put a scope on this, I do see what roughly looks like a PWM, but with a frequency of 30Hz instead of 4MHz. I have verified I am probing the right pin because if I have the clock to what I think is 10MHz (a factor of 2.5) I see the signal on my scope increase from 30Hz to 75 Hz (the same factor of 2.5).
I have several other PWMs on this board, on TIM3, TIM4, TIM5, and TIM23, all of which are working without issue and producing the exact frequency and duty cycle I expect. The only difference I can think is that TIM1 is an "advanced timer" but I have not been able to discern anything in the RM or otherwise that would indicate that I need to do something different to set this timer up for PWM. Am I missing something?
