Is rtems interrupt latency good enough for BLDC ESC? (on arm cortex-M or cortex-R)

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Sep 5 14:07:20 UTC 2022


On 05/09/2022 15:55, Y. HB wrote:
> I see zephyr provided a "Zero-Latency interrupt" facility to do with 
> near bare metal performance interrupt handler,  and a talk is about 
> using Zero-Latency Interrupts feature to make a ESC with ZephyRTOS.

A "zero-latency interrupt" in Zephyr is just an interrupt which has a 
higher priority than the interrupts managed by Zephyr. You cannot use 
operating system services in such an interrupt.

> 
> Is rtems good enough to do the same thing?

For ARMv7-M yes, the lower priority half of interrupt priorities is 
managed by RTEMS, the higher priority half can be used for such 
"zero-latency interrupts".

For ARMv7-AR, the FIQ can be used.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the users mailing list