Skip to content
yagram edited this page Mar 6, 2023 · 2 revisions

Timer

I cannot get proper period in my Timer, it is too small.

The default clock of a timer is the BUS_CLK of 24MHz, which makes for a maximum period of 2.731ms, if you want to increase this you can either

  • create a counter that increments at every overflow of the timer;
  • create a new clock source by going to the BUS_CLK, ticking New in Clock type, there you will be able to select any frequency to the clock, the maximum period will change accordingly.
Clone this wiki locally