STM32 Timer Tool

Too lazy to figure out the right prescaler (PSC) and counter period (ARR) for your STM32 timer yourself? No worries. Simply use this small, browser-based tool to calculate all possible combinations to set up your timer.

How many timer iterations per second
How long one timer iteration takes
How many bits the timer has
The base clock of your timer (refer to the block diagram of your STM32 CPU and the Clock Configuration tab inside CubeMX)
The maximum accepted error in % to take into account for possible solutions
How many results to calculate

Loading...
Prescaler (PSC) Counter Period (ARR) Error CCRx