TIMx Clock Division Configuration
Hey, I am trying to understand timers, everything goes nice, but I have a question in my mind.
I am able to set the prescaler and period values according to my purporse, but I can't use the internal clock division effectively.
My TIM2 clock signal is 12 MHz, then I use 11999 as PSC and 999 as ARR, so I expect my timer to count up to 999 in exactly 1 seconds and then reset to 0.
And it does, but the problem occurs when I set Internal Clock Division parameter (from CubeMX) to,for example, 4 ; I expect it to count up to 999 in 4 seconds this time but it does not. It just counts again in 1 seconds.
Is there something wrong in my understanding of this Internal Clock Division thing?
Thanks in advance.