Steven Cohen

ADC on FRDM board using PE

Discussion created by Steven Cohen on Jan 30, 2013
Latest reply on Feb 4, 2013 by Petr_H

I am using the Typical Example code provided for the higher level component AD1.  I basically followed the One conversion example of all channels, with interrupt service.


I selected two channels to be enabled in the component and selected the pins, but when the interrupt fires off and I command

AD1_Measure(TRUE) then



only channel 0 shows a value. channel 1 is always 0 value in the variable view.  My code looks at the value as ADC_Value[0] and ADC_Value[1]


What might I be missing?