AnsweredAssumed Answered

How use ADC to take measurements

Question asked by Jace Walton on Jan 6, 2017
Latest reply on Jan 12, 2017 by Jace Walton

I am using an ADC peripheral  driver to take measurements of voltage.

I am using sdk 1.3.0 and the MK22F board 

I used PE to set up the ADC. 

I see the the   PE_low_level_init(); function the ADC in initalized but how do I use it. 

I already checked the ADC examples in C:/freescale/sdk1.3.0/examples.... 

I could not get the projects to build I shall include my project in case you need it. 


Here are the functions that I am using to try to read the ADC value


ADC16_DRV_SetChnMux(0, 0);
val = ADC16_DRV_GetConvValueRAW(0, (uint32_t)0);


The project's name is Worktax.

Original Attachment has been moved to: