Help configuring STM32H7 timer
On the Nucleo-H743ZI board, I'm trying to configure TIM3 with a 10 us period. With the internal clock source at 200MHz, I would expect these parameters to create a 10 us TIM3 interrupt:
htim3.Instance = TIM3;
htim3.Init.Prescaler = 200;
htim3.Init.CounterMode = TIM_COUNTERMODE_UP;
htim3.Init.Period = 10;
htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
htim3.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE;
sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNALBut my TIM3 interrupt is occurring every 11us instead. Can anyone see what I'm doing wrong? Thanks for any help.