2014-04-14 08:04 AM
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_SetPriorityGrouping(NVIC_PRIORITYGROUP_1); HAL_NVIC_SetPriority(EXTI9_5_IRQn, 0, 4); HAL_NVIC_EnableIRQ(EXTI9_5_IRQn); 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.2014-04-24 02:12 AM