Interrupt nesting problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-04-04 8:26 AM
Posted on April 04, 2014 at 17:26
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-nesting
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-04-04 8:37 AM
Posted on April 04, 2014 at 17:37
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.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
