2017-02-08 01:22 AM
Hi,
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 ?
Thanks,
#tim3-input-captureSolved! Go to Solution.
2017-02-08 05:43 AM
Replying to my own question.
The problem's been fixed. The culprit was in the incorrect clock setup for the TIM3 peripheral
2017-02-08 05:43 AM
Replying to my own question.
The problem's been fixed. The culprit was in the incorrect clock setup for the TIM3 peripheral