4 Replies Latest reply on Apr 10, 2014 5:15 PM by userc_2125

    ADC on BCM20732

    userc_2125

      Hello,

       

      I am having some difficulty with using the ADC on the 20732 chip. I checked the Hardware Interface Guide and it seems the only code you have to use to read from the ADC is the following:

       

      adc_readVoltage(ADC_INPUT_CHANNEL);

       

      is that correct? Does there need to be any type of configuring to make sure the pin is configured to be used as an ADC input?

       

      I ask because I get the same adc reading whether I choose 2.4V or 3.6V as a reference voltage, which I'm pretty sure is not right.

       

      Your help is greatly appreciated,

      Gurpal