WeSearch

Rust async and the ARM generic timer

Jonathan 'theJPster' Pallant· ·13 min read · 0 reactions · 0 comments · 16 views
#rust#arm#timers#programming
⚡ TL;DR · AI summary

The article discusses the implementation of timers in Rust for the Arm architecture, focusing on the Arm SYSTICK and CMSDK timers. It highlights the limitations of the SYSTICK timer for long-duration events and introduces the CMSDK timer as a more capable alternative. The article aims to provide insights into running concurrent tasks on Arm processors using these timers.

Key facts
Original article
JP's Website · Jonathan 'theJPster' Pallant
Read full at JP's Website →
Opening excerpt (first ~120 words) tap to expand

JP's Website Scroll through the blog: ‹ Newer | List All | Older › Finding the Time Part 2 - Rust Async and the Arm Generic Timer Posted on 2026-05-17 Contents Intro Timers Arm SYSTICK Arm CMSDK Timer Arm Generic Timer Embassy RTIC Intro In the last article, I set out the various versions of the Arm Architecture, and ones I've been focussed on whilst developing the aarch32-rt and aarch32-cpu libraries. Building an example that gets into fn main() and perhaps fires a few interrupts is fine and all that, but most people using these big processors are going to want a bit more - some sort of framework that lets them run multiple tasks concurrently (whether using pre-emptive task switching, or co-operative scheduling) and manage a list of upcoming events (like timeouts, or when the LED next…

Excerpt limited to ~120 words for fair-use compliance. The full article is at JP's Website.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from JP's Website