MENU

Cycle-resolution timing boosts real time operating system

Cycle-resolution timing boosts real time operating system

Technology News |
By Nick Flaherty



Segger in Germany has developed a real time operating system (RTOS) using cycle-resolution timing to eliminate the periodic tick interrupt.

Scheduling of all time-based events, such as timeouts, delays, and periodic timers in embOS-Ultra , can now be specified in microseconds or CPU cycles. Cycle-resolution Timing technology replaces ad-hoc, target-specific techniques for precise timing with clean and consistent API calls.

The RTOS maintains full API compatibility with classic embOS but, at the same time, provides CPU-cycle precision for scheduling through additional API calls. embOS-Ultra replaces the typical 1ms system tick with a single-shot hardware timer that generates interrupts exactly when necessary. This can also save power by avoiding unnecessary activity with no need to modify the application code itself.

“Using cycles as the internal time base for an RTOS is a completely new concept with many benefits. The resolution of scheduling is orders of magnitude better than that of traditional RTOSes,” said Rolf Segger, founder of Segger. “We already use it in our J-Link debug probes and Flasher In-System programmers. We found that it simplifies system design and allows using RTOS API calls where before we had to use dedicated hardware timers. This made the firmware far easier to maintain and port, and it further enhanced the performance of the products. I am convinced that many of our customers will have the same experience.”

No application changes are required as the existing API and RTOS behaviour is maintained, providing millisecond-aligned timing where classic embOS API calls are used and microsecond or cycle resolution where the new API calls are used. The traditional embOS API can also be mixed with the extended high-precision embOS-Ultra API in the same application.

www.segger.com/products/rtos/embos/editions/embos-ultra/

Related articles

Other articles on eeNews Europe


 

If you enjoyed this article, you will like the following ones: don't miss them by subscribing to :    eeNews on Google News

Share:

Linked Articles
10s