2015-04-30 03:12 AM
In programming manual (PM0056) in the description of ''Application interrupt and reset control register (SCB_AIRCR)'' two things are written:
1) Bits 10,9 and 8 defines PRIGROUP - they determine the split of group priority from subpriority. Later, in the table 45, all correct values of these bits are listed and they are: 0b011, 0b100, 0b101, 0b110 and 0b111. 2) Reset value of this register is said to be 0xFA05 0000 - so after reset PRIGROUP bits are all zero. And that value is not listed in the table, so it must be incorrect. Please tell me, am I correct? And if I am, how exactly will subpriorities work after reset? #stm32 #interrupts #preemption2015-05-14 09:32 AM
Hi Roman,
After reset, the behavior will be the same as when 4 bits are used for group priority and 0 bit for subpriority. It means the equivalent of PRIGROUP = 011.Best Regards-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2015-05-15 01:55 AM
Thanks, Myala!