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

Y. HB sprhawk at gmail.com
Wed Sep 7 16:09:08 UTC 2022


Good point. Can you see the screenshot I sent earlier about why using RTOS
for a  BLDC,  or the video on this page:
https://zephyrproject.org/zephyr-rtos-for-power-electronics/ , the time is
about 7:13

On Wed, Sep 7, 2022 at 12:33 PM Peter B <peter at awsmtek.com> wrote:

> Why do not to use baremetal DSP core communicating with application core
> running RTEMS?
>
> On Wed, Sep 7, 2022, 6:28 AM Y. HB <sprhawk at gmail.com> wrote:
>
>> Right, I did think RTEMS may be an overkill for it. But it is only open
>> source RTOS qualified in the aerospace area.
>>
>> On Wed, Sep 7, 2022 at 3:22 AM Peter B <peter at awsmtek.com> wrote:
>>
>>> Interesting. I use ChibiOS in some projects and I know it is tiny in
>>> comparison with RTEMS.
>>> In the case of RTEMS I think it is better to run the control loop on a
>>> separate core rather than upon a RTEMS task.
>>> Let RTEMS experts fix me if I am wrong.
>>>
>>> Best regards.
>>> Peter Borisenko
>>> Awesome Technologies, Ltd.
>>> http://awsmtek.com
>>> +66826684211
>>>
>>>
>>> On Tue, Sep 6, 2022 at 7:04 AM Y. HB <sprhawk at gmail.com> wrote:
>>>
>>>> Hello Peter:
>>>>
>>>> the open sourced VESC https://github.com/vedderb/bldc is using ChibiOS
>>>> Following is using ZephyrOS,
>>>>
>>>>
>>>>
>>>> On Tue, Sep 6, 2022 at 2:11 AM Peter B <peter at awsmtek.com> wrote:
>>>>
>>>>> Why do anyone even think of using an OS on such devices like the BLDC
>>>>> Motor driver?
>>>>> What's the point?
>>>>>
>>>>> Best regards.
>>>>> Peter Borisenko
>>>>> Awesome Technologies, Ltd.
>>>>> http://awsmtek.com
>>>>> +66826684211
>>>>>
>>>>>
>>>>> On Mon, Sep 5, 2022 at 9:07 PM Sebastian Huber <
>>>>> sebastian.huber at embedded-brains.de> wrote:
>>>>>
>>>>>> 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/
>>>>>> _______________________________________________
>>>>>> users mailing list
>>>>>> users at rtems.org
>>>>>> http://lists.rtems.org/mailman/listinfo/users
>>>>>
>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20220908/e8bb6566/attachment.htm>


More information about the users mailing list