2022-12-23 08:02 AM
2022-12-23 08:39 AM
It is better to handle exti interrupts directly wihout using HAL. Past experience show that support of EXTI interrupt on an alternate function pin was not supported.
Also that all separated interrupt vectors are rejojned by HAL (few years back on STM32L4).
So DIY for EXTI is prefferred. Check the LL if it is easier to grasp than the time it takes to read the refman and code directly...
2022-12-23 06:40 PM
2022-12-23 10:24 PM
There is another fresh post about EXTI to consult. In 8 but mcu way, the interrupt handler should be very brief to release the pending interrupt. Interrupt replace missing HW by SW+Time, simply.