Skip to main content
JBond.1
Senior
July 24, 2021
Solved

Which is better: lower prescaler (PSC) value or lower period (ARR) value?

  • July 24, 2021
  • 2 replies
  • 1478 views

Hi, I wonder which one is better for Timer setup:

  1. lower prescaler (PSC) value and higher period (ARR) value?
  2. lower period (ARR) value and higher prescaler (PSC) value?

This topic has been closed for replies.
Best answer by waclawek.jan

What is"better"?

Whichever setting suits your application is OK. Higher prescaler might theoretically lead to lower power consumption, but the difference will be probably entirely negligible.

JW

2 replies

waclawek.jan
waclawek.janBest answer
Super User
July 24, 2021

What is"better"?

Whichever setting suits your application is OK. Higher prescaler might theoretically lead to lower power consumption, but the difference will be probably entirely negligible.

JW

JBond.1
JBond.1Author
Senior
July 24, 2021

Lower power consumption is better, so I will try to choose larger PSC and lower ARR if possible.

Like at 72Mhz cpu:

1ms timer PSC = 7199 ARR = 9

100ms timer PSC = 59999 ARR = 119

TDK
July 24, 2021

I usually prefer lower PSC in order to have better resolution, but sometimes resolution doesn't matter. Note that ARR needs to be nonzero.

"If you feel a post has answered your question, please click ""Accept as Solution""."