Page 1 of 1

System Timer IRQ Priority

Posted: Fri Jan 17, 2020 2:02 pm
by alexblack
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.

Re: System Timer IRQ Priority

Posted: Fri Jan 17, 2020 2:31 pm
by Giovanni
It depends on your requirements, 8 is fine usually.

Giovanni

Re: System Timer IRQ Priority

Posted: Fri Jan 17, 2020 3:21 pm
by alexblack
Can it be the 1? Aare there any forbidden values?

Re: System Timer IRQ Priority

Posted: Fri Jan 17, 2020 3:42 pm
by Giovanni
0, 1 and 2 are forbidden, like all other interrupts.

Giovanni