STM32f070xB, TIM16_CH1 input capture
Posted on April 23, 2018 at 12:59
I am using STM32f070xB controller. I want to use @TIM16_CH1 for input capture.
GPIO_PIN: ♯PB8
Timer clock freq: 3MHz
TIMER is getting interrupted continuously but after 120Hz, flow is not going into Capture compare callback.
i.e, __HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC1) is always RESET for frequency above 120Hz.
Anyone can let me know, what can be the reason behind.
Even for specific PORT-PIN GPIO external interrupt is not happening after 120Hz.