Max Tim Period

Status
Not open for further replies.

Mina2016

Junior Member level 1
Joined
Oct 23, 2022
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
94
Is this formula for finding maximum Timer period in STM32L476?
Max Timer Period = (PSC + 1) x (ARR + 1) x T_CLK
 

Hi,

no context?
PSC? I guess prescaler
ARR?
T_CLK? I guess period time of a clock. Which clock?

Usually a timer is a counter. (true for most counters in most microcontrollers)
* So you have a counter input frequency (F_cnt)
* and you have an integer value when the timer "times out" (TO_val)

t_timeout = TO_val / F_cnt.

The datasheet should give sufficient information.
Also I guess there are STM tutorials for timers (even videos)
And there may be online calculators.

Klaus
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…