Timer: Input capture filter, many ways how to configure the same behavior
Hello,
I am trying to configure TIM9 input capture to detect high-low transition on a signal connected to TIM9_CH1 pin. There is a requirement to filter out short negative pulses < 480 ns. The timer is running at 100 MHz.
The configuration is straighforward, however there are multiple possible settings, e.g.
- CKD = 0, IC1F = 8
- CKD = 1, IC1F = 6,
- CKD = 2 , IC1F = 4
Every configuration leads to a sampling frequency of 12.5 MHz with 6 samples needed to detect transition. However the sampling frequency is created in different parts, tDTS or divided CK_INT.
Is there any difference or advantage that e.g. configuration 1 is preffered than 2?
Best
Martin
