AnsweredAssumed Answered

ADC readings on FRDM KL25Z

Question asked by Matt85 on Nov 8, 2014
Latest reply on Nov 12, 2014 by Matt85

Hi,

I configured the ADC for the FRDM KL25Z board as in:

 

This is my code:

 

  (void)AD1_Calibrate(TRUE);

 

  for(;;) {

    (void)AD1_Measure(TRUE); /* do conversion and wait for the result */

    (void)AD1_GetValue16(&value); /* get the result into value variable */

  }

 

The readings are (with the PTD5 pin connected to 3.3v):

 

 

any idea?

Thanks

Outcomes