Best way to handle periodic tasks?

Discussions and support about ChibiOS/RT, the free embedded RTOS.
lostintheether
Posts: 2
Joined: Mon May 12, 2025 9:02 am

Best way to handle periodic tasks?

Postby lostintheether » Mon May 12, 2025 9:11 am

Hi everyone, just starting out with ChibiOS/RT. I need to run a task that executes every 10ms very reliably. Should I be looking at using chVTGetSystemTimeX() and busy-waiting, or is there a more RTOS-friendly way like timers or a specific thread structure?

User avatar
Giovanni
Site Admin
Posts: 14660
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1136 times
Been thanked: 948 times

Re: Best way to handle periodic tasks?

Postby Giovanni » Mon May 12, 2025 9:54 am



Return to “ChibiOS/RT”

Who is online

Users browsing this forum: No registered users and 52 guests