AnsweredAssumed Answered

Software interrupt doesn't work

Question asked by mez.dmitry on Sep 30, 2016
Latest reply on Sep 30, 2016 by mez.dmitry
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.

Outcomes