System Timer IRQ Priority

Discussions and support about ChibiOS/RT, the free embedded RTOS.
alexblack
Posts: 276
Joined: Mon Sep 24, 2012 3:52 pm
Location: Donetsk
Been thanked: 32 times
Contact:

System Timer IRQ Priority

Postby alexblack » Fri Jan 17, 2020 2:02 pm

Hi.
What is the rulers for selecting the STM32_ST_IRQ_PRIORITY? Before I think that it must be as high as possible, i.e. 1. But now I see that it is default value for STM32 is 8. Tell me please how it must be.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: System Timer IRQ Priority

Postby Giovanni » Fri Jan 17, 2020 2:31 pm

It depends on your requirements, 8 is fine usually.

Giovanni

alexblack
Posts: 276
Joined: Mon Sep 24, 2012 3:52 pm
Location: Donetsk
Been thanked: 32 times
Contact:

Re: System Timer IRQ Priority

Postby alexblack » Fri Jan 17, 2020 3:21 pm

Can it be the 1? Aare there any forbidden values?

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: System Timer IRQ Priority

Postby Giovanni » Fri Jan 17, 2020 3:42 pm

0, 1 and 2 are forbidden, like all other interrupts.

Giovanni


Return to “ChibiOS/RT”

Who is online

Users browsing this forum: No registered users and 8 guests