On 19/09/2019 06:32, Chris Johns wrote:
On 19/9/19 2:16 pm, [email protected] wrote:
I was reviewing the interrupt priorities on a project where I’m using FreeRTOS 
and they want the tick interrupt priority to be very low.

I found this to be not obvious, then started wondering what the elders of the 
RTEMS suggest for use with RTEMS.

Should the tick interrupt be high priority or low?

If all that is happening is the OS tick entry point is being called then I set
the priority below any other sources. If the OS tick routine expires a timer and
readies a task that task will not be dispatched until the outer most interrupt
exits so being any higher does not gain you anything.

Yes, also in SMP configurations, the inter-processor interrupt should have the lowest priority possible.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : [email protected]
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
users mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/users

Reply via email to