2021-08-19 08:27 AM
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
2021-08-19 11:51 AM
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
2021-08-19 12:00 PM
Thanks
2021-08-19 12:32 PM
For high speed clock output consider PA8 MCO pin.