Hi,my hardware is using PB[12],PB[13],PB[15] for AD function,I found PB[12],PB[13],PB[15] are mapped ADC0_X[0], ADC0_X[1], ADC0_X[3], and how to config AD module?
Please pay attention to following document, section 2.8 Analog-to-digital converter:
http://www.nxp.com/assets/documents/data/en/application-notes/AN4830.pdf
The principle is the same, it differs in the used channels thus you will have to modify the code according to your needs.
I read the app notes ,and my ad module code is reference AN4830. I found adc0_x[0] result register multiplied four is OK.