AnsweredAssumed Answered

EXTI interupt not firing. Setup issue?

Question asked by Shannon on Jan 31, 2012
Latest reply on Jul 6, 2012 by siqueira.erisson
Here is my code block for setting up the EXTI for Port B pin 0:

void VFD_Busy_EXTI_Init(void){
 
GPIO_InitTypeDef GPIO_InitStructure;
EXTI_InitTypeDef EXTI_InitStructure;
NVIC_InitTypeDef NVIC_InitStructure;
 
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE);
RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE);
 
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_In_Floating;
GPIO_Init(GPIOB,&GPIO_Init_Structure);
 
GPIO_EXTILineConfig(GPIO_PortSourceGPIOB, GPIO_PinSource0);
 
EXTI_InitStructure.EXTI_Line = EXTI_Line0
EXTI_InitStructure.EXTI_Mode_Interupt;
EXTI_InitStructure.EXTI_Trigger = EXTI_Trigger_Falling;
EXTI_InitStructure.EXTI_LineCmd = ENABLE;
EXTI_Init(&EXTI_InitStructure);
 
NVIC_InitStructure.NVIC_IRQChannel = EXTI0_IRQn
NVIC_InitStructure.NVIC_IRQChannelSubPriority = 2;
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
NVIC_Init(&NVIC_InitStructure);
 
}

Anyone see anything wrong or missing?  The symptom is the EXTI ISR is never called.  (yes the hardware is confirmed fine)

Outcomes