I am trying to capture external events on a GPIO pin PC.9 using TIM3 CH4 input capture. I cant understand why I am not getting TIM3 CC4 events with the TIM3 interrupt. Spent a bit time pulling my hair over the issue, but unable to find the problem. Interesting to note was that I was able to get it working with TIM1. But for my understanding purpose, I would like to have it working with TIM3.
Attached code of what I am doing.
Any idea, what could be wrong ?