wwfeldman
Advanced Member level 4
- Joined
- Jan 25, 2019
- Messages
- 1,125
- Helped
- 232
- Reputation
- 463
- Reaction score
- 302
- Trophy points
- 83
- Activity points
- 8,806
Re: 1MHz Timer Settings at STM32F767
i am not very familiar with STM32F767
please explain notation 108-1 and 2-1 in
calculation prescaler should be 108-1, and a counter period 2-1.
please explain your calculation that got you to these values from wherever you started (108MHz or 54MHz ?)
i am not very familiar with STM32F767
Hello,
I want to setup a 1MHz timer with STM32F767. I picked TIM4 (APB1 Timer Clock=108MHz; APB1 Peripheral Clock=54MHz) for this purpose, based on my calculation prescaler should be 108-1, and a counter period 2-1. But I get maximum 113.64kHz. So, does anyone have an idea to set as 1MHz?
please explain notation 108-1 and 2-1 in
calculation prescaler should be 108-1, and a counter period 2-1.
please explain your calculation that got you to these values from wherever you started (108MHz or 54MHz ?)