Question
Software interrupt doesn't work
Posted on September 30, 2016 at 13:41
Hello!
I use STM32F429ZI and I try to set a software interrupt, but it doesn't work. I set it as follows: EXTI->IMR |= EXTI_IMR_MR0;NVIC_SetPriority(EXTI0_IRQn, 15);
NVIC_EnableIRQ(EXTI0_IRQn);
__HAL_GPIO_EXTI_GENERATE_SWIT(EXTI_SWIER_SWIER0);
void EXTI0_IRQHandler (void)
{
SET(TEST_X2);//test point
}
Software interrupt is not trigered. Help me please. Am I missing something? Thank you for your help.