Hi Homar,
Please review the baremetal DAC ADC demo. It could be implemented in a MQX application.
C:\Freescale\KSDK_1.2.0\examples\frdmk64f\demo_apps\dac_adc_demo
Documentation is in: C:\Freescale\KSDK_1.2.0\doc\Kinetis SDK v.1.2.0 Demo Applications User's Guide.pdf Chapter 7.
Regards,
David