<div dir="ltr"><div dir="ltr">Good point. Can you see the screenshot I sent earlier about why using RTOS for a BLDC, or the video on this page: <a href="https://zephyrproject.org/zephyr-rtos-for-power-electronics/">https://zephyrproject.org/zephyr-rtos-for-power-electronics/</a> , the time is about 7:13<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 7, 2022 at 12:33 PM Peter B <<a href="mailto:peter@awsmtek.com">peter@awsmtek.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Why do not to use baremetal DSP core communicating with application core running RTEMS?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 7, 2022, 6:28 AM Y. HB <<a href="mailto:sprhawk@gmail.com" target="_blank">sprhawk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Right, I did think RTEMS may be an overkill for it. But it is only open source RTOS qualified in the aerospace area.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 7, 2022 at 3:22 AM Peter B <<a href="mailto:peter@awsmtek.com" rel="noreferrer" target="_blank">peter@awsmtek.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="color:rgb(69,129,142)">Interesting. I use ChibiOS in some projects and I know it is tiny in comparison with RTEMS.</div><div style="color:rgb(69,129,142)">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.</div><div style="color:rgb(69,129,142)">Let RTEMS experts fix me if I am wrong.<br clear="all"></div><div><div dir="ltr"><div dir="ltr"><div><br>Best regards.<br>Peter Borisenko<br>Awesome Technologies, Ltd.<br><a href="http://awsmtek.com" rel="noreferrer" target="_blank">http://awsmtek.com</a><br>+66826684211</div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 6, 2022 at 7:04 AM Y. HB <<a href="mailto:sprhawk@gmail.com" rel="noreferrer" target="_blank">sprhawk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello Peter:</div><div><br></div><div>the open sourced VESC <a href="https://github.com/vedderb/bldc" rel="noreferrer" target="_blank">https://github.com/vedderb/bldc</a> is using ChibiOS</div><div>Following is using ZephyrOS, <br></div><div><br></div><div><br></div><div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 6, 2022 at 2:11 AM Peter B <<a href="mailto:peter@awsmtek.com" rel="noreferrer" target="_blank">peter@awsmtek.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="color:rgb(69,129,142)">Why do anyone even think of using an OS on such devices like the BLDC Motor driver?<br></div><div style="color:rgb(69,129,142)">What's the point?<br clear="all"></div><div><div dir="ltr"><div dir="ltr"><div><br>Best regards.<br>Peter Borisenko<br>Awesome Technologies, Ltd.<br><a href="http://awsmtek.com" rel="noreferrer" target="_blank">http://awsmtek.com</a><br>+66826684211</div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 5, 2022 at 9:07 PM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de" rel="noreferrer" target="_blank">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 05/09/2022 15:55, Y. HB wrote:<br>
> I see zephyr provided a "Zero-Latency interrupt" facility to do with <br>
> near bare metal performance interrupt handler, and a talk is about <br>
> using Zero-Latency Interrupts feature to make a ESC with ZephyRTOS.<br>
<br>
A "zero-latency interrupt" in Zephyr is just an interrupt which has a <br>
higher priority than the interrupts managed by Zephyr. You cannot use <br>
operating system services in such an interrupt.<br>
<br>
> <br>
> Is rtems good enough to do the same thing?<br>
<br>
For ARMv7-M yes, the lower priority half of interrupt priorities is <br>
managed by RTEMS, the higher priority half can be used for such <br>
"zero-latency interrupts".<br>
<br>
For ARMv7-AR, the FIQ can be used.<br>
<br>
-- <br>
embedded brains GmbH<br>
Herr Sebastian HUBER<br>
Dornierstr. 4<br>
82178 Puchheim<br>
Germany<br>
email: <a href="mailto:sebastian.huber@embedded-brains.de" rel="noreferrer" target="_blank">sebastian.huber@embedded-brains.de</a><br>
phone: +49-89-18 94 741 - 16<br>
fax: +49-89-18 94 741 - 08<br>
<br>
Registergericht: Amtsgericht München<br>
Registernummer: HRB 157899<br>
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
Unsere Datenschutzerklärung finden Sie hier:<br>
<a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" rel="noreferrer" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a></blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div></div>