"Hello NXP,
I am currently working with the Input Capture Module (ICU). I have configured it in the time stamp mode with a rising edge interrupt. Additionally,
I have set up FTM0 Channel 6. FTM0 is operating at an 8MHz SIRC clock, and I have configured the ICU channel with a prescaler of 128, resulting in a tick time of 16 microseconds.
With this configuration, the ICU channel can measure time intervals ranging from 16 microseconds to 1048560 microseconds, which is equivalent to over 1 second.
It works well with higher frequencies and shorter periods, from 16 microseconds up to 70 milliseconds. However, beyond 70 milliseconds, I encountered an issue where the values obtained include additional pulse ticks, as listed below:
For 77 milliseconds, I observed a pulse with 3 additional ticks, indicating an error.
For 500 milliseconds (half a second), I observed a pulse with 10 additional ticks, and so on. I am curious if there is a specific reason for this behavior when working with lower frequencies.
Please note that I am using an NXP S32K116 microcontroller and configuring ADC0 using the TRESOS tool with the SW32K1_RTD_4.4_1.0.1_HF01_D2209 package."