Hello Leo
Thanks for your reply
I'm using PTA7 on the S32K118EVB as the external ADC channel.
I’m able to retrieve ADC values using software trigger with the function below.
Pohsuan_1-1744882136761.png
However, when using the hardware trigger part from the sample code, the program gets stuck in the while loop.
Pohsuan_3-1744882301351.png
Could you please provide any advice?
Or is there a hardware-triggered ADC sample I can refer to?
The attached archive contains the source code I’m currently using. Please refer to it.
Thank you