Hello,
I am testing different configurations of timer6:
*pTIMER6_CONFIG = (WDTH_CAP) | (TIN_SEL) | (PULSE_HI) | (IRQ_ENA) | (PERIOD_CNT);
and I configured it to use interrupt priority 11
adi_int_SICSetIVG(ADI_INT_TIMER6, 11);
register_handler(ik_ivg11,EVT_IVG11_Entry);
anyway the result is the same as before
In the following images the yellow signal is the input PWM, while the blue signal is the toggle of the PF in the interrupt function (that is the same as before).
I notice that sometimes the interrupt is triggered two times on the same rising front of the input signal, while sometimes the interrupt isn't triggered at all.
I don't understand if there something wrong in my software, or if it is a hardware problem.
Is it possible that the input PWM signal is rising too slowly and with some fluctuations that cause this multiple interrupts?
Thank ypu in advance for any suggestion.
Marco