AnsweredAssumed Answered


Question asked by denehan.joe on Apr 14, 2014
Latest reply on Apr 24, 2014 by STM32Cube-T
Don't know if this is an oversight or normal. When I configure a pin with CubeMX to be "External Interrupt Mode with Falling edge trigger detection" for example, and enable the interrupt in the NVIC configuration, the NVIC setup code doesn't get generated.

If I manually add:
    /* enable EXTI interrupt handling */
    HAL_NVIC_SetPriority(EXTI9_5_IRQn, 0, 4);

then the interrupt handler gets called. Shouldn't this be generated, otherwise why allow changes to the Preemption Priority and Sub Priority in the NVIC configureation in CubeMX.