Hi guys, I'm doing a project in which I needed to add an input capture module. So I used the HAL library provided by ST to do so. Everything works fine if I run my EXTI in a separate program. My exti is triggered when a rising edge occurs. However when I add that program into my project, the EXTI never seems to trigger. What I find the srtangest is that I cannot put a break point into the interrupt service routine : void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim) . Keil won't let me do it. I can put breakpoints everywhere else in my program, but not in my EXTI interrupt. Does anyone have an idea on why I face this strange behavior? Thank you very much for the help. I'm using STM32F373 board. I use Keil V5.23
Likely doing dead code removal. Make sure you have an IRQ Handler that is call into the HAL for the callback to occur.