2014-04-04 08:26 AM
Hi,
I am trying to get interrupt nesting to work on an STM32F207, but so far without success. I am using no subpriorities (SCB_AIRCR.PRIGROUP = 3) I am inside the hander of TIM6_DAC, and an UART5 interrupt is enabled and pending: NVIC_ISER1 = 0xe000e104 (i.e. bit 21 = SETENA53 is set) NVIC_ISPR1 = 0x20600100 (i.e. bit 21 = SETPEND53 is set) NVIC_IPR13 = 0xf08000 (i.e. priority of UART5 IRQ is 0x80 and priority of TIM6_DAC is 0xf0, so UART5 handler should be priorized over TIM6_DAC handler) basepri is 0 Why does the UART5 interrupt handler does not get called as I would expect? What am I missing? Thanks for any help Dirk #stm32-interrupt-nesting2014-04-04 08:37 AM
What am I missing?
Dunno, but I'm missing some complete/concise code that demonstrates what you're attempting to do, and how things are configured, etc. I do recall an issue some time back about how the NVIC Group setting was broken.