cancel
Showing results for 
Search instead for 
Did you mean: 

Auto-Reload Register = 0

ORaji.1
Associate

Good day, I'm using the stm32f103c8 on the bluepill board and I intend on running timer 2 (clocked at 72MHz) every cycle. Now with this clock, a cycle is 13.9ns. To make this happen, should the Auto-Reload (ARR) register of timer 2 be loaded with 0 so that it reloads every cycle?

It just looks weird to me but I want to clarify if my assumption is correct. Thank you​

3 REPLIES 3

You cannot set ARR to 0, the timer would not run. The highest frequency of timer is its input clock frequency / 2. Read the TIM chapter in RM.

JW

ORaji.1
Associate

Thanks

For high speed clock output consider PA8 MCO pin.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..