A question on use timer and samples out
Good morning everyone,
I'm at my first experience with STM and between guides and tutorials I'm learning many things.
But I wanted to configure a 32bit TIM5 timer on my STM32F446 board, I would like my timer to calculate a sample every 0.000001s, only if I configure the timer I expect 1000000 samples to correspond to a second, but the timer output seems different .
Additionally if I configure the timer to 0.00001 sample at 100000 samples it gives me the correct result per second.
For the TIM5 calculations I ran Prescale 1 and Overflow at 41 with 84MHz sampling time, it doesn't work.
Conversely, if I set OverFlow to 419 I can get the correct timer but with fewer samples.
I need a sample every 0.000001s, where am I wrong?
I hope I was clear enough, happy new year to all of you.
