Hi, I'm developing a DC motor control project based on S32K148, and I basically follow the MTR-148 example code to write code. Now the problem is that adc interrupt randomly stopped after successful working few seconds or few minutes.
Since I use the FTM-PDB-ADC trigger sequence, I had tried to change PDB MOD, Delay time...etc, but the interrupt is acting the same, sometimes even not work since beginning. When I check the register after the interrupt stopped, the COCO flag of last ADC channel (which also is configured to generate interrupt) is not set, but the COCO flag before this channel had all set.

Do you have any idea to this problem? Or is there any reference could help to this problem?
There's my initial settings below:
FTM with 80us,12.5kHz

TRGMUX:

PDB:

ADC:


Thank you very much!!