Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8026

General • Re: Synchronize timer to external clock / Reset timer

$
0
0
I developed a project using the RP2040's Systick Timer.
I was impressed with its speed and accuracy. It has a lot of interesting features.
Maybe you can use it.
Note: I used the Tinygo programming language, which is very simple and efficient.


Digital Voltmeter with 4 ½ digits - Raspberry Pico
viewtopic.php?t=391945

Code updated:
viewtopic.php?t=391945#p2339876

https://datasheets.raspberrypi.com/rp20 ... asheet.pdf
SyStick timer
2.4.4.1. System control register summary:

Rp2040 Processor features :
• An ARMv6-M compliant 24-bit SysTick timer.

A 24-bit SysTick system timer, extends the functionality of both the processor and the NVIC and provides:
• A 24-bit system timer (SysTick).
• Additional configurable priority SysTick interrupt.

The SysTick timer uses a 1μs pulse as a clock enable. This is generated in the watchdog block as timer_tick. Accuracy
of SysTick timing depends upon accuracy of this timer_tick. The SysTick timer can also run from the system clock (see
SYST_CALIB).

Statistics: Posted by Gustavo_Murta — Sat Oct 25, 2025 3:13 am



Viewing all articles
Browse latest Browse all 8026

Trending Articles