AnsweredAssumed Answered

The issue about FTM input capture for S32K114 and used SDK configuration

Question asked by wang aoyuan on Oct 23, 2019
Latest reply on Nov 3, 2019 by wang aoyuan

counter clock frequency is 16Mhz,

It can be captured normally at high frequency,but the counter will overflow at low frequency.

as shown below, the left side is the generated frequency and the right side is the frequency at which the input is captured.

PWM frequency: 2 Measured frequency: 3472 [Hz]

PWM frequency: 3 Measured frequency: 642 [Hz]

PWM frequency: 4 Measured frequency: 6944 [Hz]

PWM frequency: 5 Measured frequency: 294 [Hz]

PWM frequency: 6 Measured frequency: 353 [Hz]

PWM frequency: 7 Measured frequency: 278 [Hz]

PWM frequency: 8 Measured frequency: 471 [Hz]

PWM frequency: 9 Measured frequency: 1926 [Hz]

PWM frequency: 10 Measured frequency: 589 [Hz]

 

Then initialized the counter overflow interrupt , but the program does not work properly.

Outcomes