Hello,
I'm using input capture function provided by etpu function set by NXP.
The input capture works well at the first, but it does not work any more after 8388608 interrupts.
FYI, I left my initialize code and interrupt subroutine below:
Does anyone have an idea for this issue??
1. Init code
err_code = fs_etpu_ic_init(ETPU_IC0_CHAN, FS_ETPU_PRIORITY_MIDDLE, ETPU_IC_MODE_CONT, FS_ETPU_TCR1, ETPU_IC_RISING_EDGE, 1);
2. interrupt subroutine
Hello,
What should I imagine under
The input capture works well at the first, but it does not work any more after 8388608 interrupts.
Isn't the interrupt called? Isn't the eTPU capturing. Isn't and ISR flag set in eTPU? etc...
Best regards,
Peter