Hi owen Lee,
What the KL25 board you are using now? If you use the official board, you can try the official SDK ADC code on your side.
Please use the official SDK code from this link:
Welcome | MCUXpresso SDK Builder
Select the development board as FRDM-KL25, you can find the ADC code in folder:
SDK_2.2_FRDM-KL25Z\boards\frdmkl25z\driver_examples\adc16
Please test it at first, if you still have problems, please kindly let me know!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------