STM32F407VGT on Discovery Board. Timer2 input channel 2 PA1 is not triggering Input Capture interrupt. Timer2 Clock 84Mhz.(HSE with PLL for clock) void HAL_TIM_IC_CaptureCallback() is not invoking even after applying proper signal to Timer2 IC pin.
I have tried to create a PWM signal using Timer1 and then feed that to Timer2 running in Input Capture mode. The Timer1 PWM output is working fine and verified using DSO. But in case of Timer2 the Input Capture interrupt call back void HAL_TIM_IC_CaptureCallback() is not invoking even after applying proper signal. Also checked the hardware connection properly and made sure the PWM signal is reaching the Timer 2 Input capture pin using DSO.
Tried with a 100Hz signal from a signal generator also. While debugging the IC callback
interrupt is not invoking for some reasons. See configurations below:







