AnsweredAssumed Answered

DMA example FLASH to RAM with NVIC preemption > 4 not work

Question asked by Kamenicky.Tomas on Dec 1, 2011
Latest reply on Dec 7, 2011 by Kamenicky.Tomas
Hi everybody,

i found the following problem:
If you take an example project STM32F2 -> Project examples -> DMA -> FLASH RAM
and add to main: 
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_4); //Only preemption priority group (4 bits)

and then set in DMA_config() function:
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 5;

Then the DMA2_Stream0_IRQHandler will never called, and i am asking why?

Attachments

Outcomes