AnsweredAssumed Answered

STM32, 'simple' issue of changing IRQ priorities (!)

Question asked by ather.m on Jun 2, 2012
Latest reply on Jun 4, 2012 by ather.m
Hi All,

Is there an easy way to change the priority of TMR1interrupt ? I need to change it so that it has lower priority than USART1, 2 & 3.

The M3 TRM, while being quite comprehensive appears (to my simple mind) almost unreadable. "Use the Interrupt Priority Registers to assign a priority from 0 to 255 to each of the available interrupts. 0 is the highest priority, and 255 is the lowest".

Yup, got that, but within the STM32, TMR1 is located at position 24, priority 31, how does that relate to a priority table with 32 x 8 bit entries ?

I am sure someone must have written an idiots-guide to this question.

Anyway, any help much appreciated.

Thanks,

Mark


Outcomes