STM32 exti interrupt problem

Hi,
when i use exti interrupt only 1/3 works fine.
configure exti: GPIO_EXTILineConfig(GPIO_PortSourceGPIOA, GPIO_PinSource0);
   GPIO_EXTILineConfig(GPIO_PortSourceGPIOA, GPIO_PinSource1);
GPIO_EXTILineConfig(GPIO_PortSourceGPIOB, GPIO_PinSource15); EXTI_ClearITPendingBit(EXTI_Line0);
EXTI_InitStructure.EXTI_Line = EXTI_Line0 | EXTI_Line1 | EXTI_Line15;
EXTI_InitStructure.EXTI_Mode = EXTI_Mode_Interrupt;
EXTI_InitStructure.EXTI_Trigger = EXTI_Trigger_Falling;
EXTI_InitStructure.EXTI_LineCmd = ENABLE;
EXTI_Init(&EXTI_InitStructure); and NVIC:
/* Set the Vector Table base location at 0x08000000 */
NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x0); /* Configure one bit for preemption priority */
             NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2); // Enable the EXTI Line0 Interrupt
NVIC_InitStructure.NVIC_IRQChannel = EXTI0_IRQn;
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;
NVIC_InitStructure.NVIC_IRQChannelSubPriority=1;
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
NVIC_Init(&NVIC_InitStructure); // Enable the EXTI Line1 Interrupt
NVIC_InitStructure.NVIC_IRQChannel = EXTI1_IRQn;
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;
NVIC_InitStructure.NVIC_IRQChannelSubPriority=0;
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
NVIC_Init(&NVIC_InitStructure); // Enable the EXTI Line15_10 Interrupt
NVIC_InitStructure.NVIC_IRQChannel = EXTI15_10_IRQn;
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;
NVIC_InitStructure.NVIC_IRQChannelSubPriority=2;
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
NVIC_Init(&NVIC_InitStructure); but only exti 0 works.
i’ve tryed to comment other interrupts except line 1 but no results found.
can anyone help me?

STM32 exti interrupt problem

Are you sure this is a FreeRTOS issue?

STM32 exti interrupt problem

Yes, i’ve a previous code without freertos and it works perfectly on the same hardware.

STM32 exti interrupt problem

In which case, can you post the interrupt handler code too please.  Use the Codify Text tags to stop it loosing its formatting.

STM32 exti interrupt problem

So, i’ve found where is the error. A variable goes out of memory before the interrupt was reached.
i’m sorry for the mistake.
Thank you for all.