Hi,
I'm porting the g2553 code to f5529 and stumbled upon the voltage reference for the ADC. The g2553 had an SREF_0 in ADC10CTL0 register which ADC12 in f5529 lacks. TI recommends using REF module to generate voltage references but still I didn't find other options than 1.5/2/2.5 V.
In my device I have a simple voltage divider based on the potentiometer that is connected to Vcc and which I want to probe so the internally generated voltage references are not what I need.
Section 28.2.3 of slau208m says that: "The ADC12_A modules have a separate reference module (REF) that supplies three selectable voltage levels, 1.5 V, 2.0 V, and 2.5 V to the ADC12_A. Any of these voltages may be used internally and externally on pin VREF+. The internal AVCC can also be used as the reference".
I assume I can connect the AVcc directly to Vcc, the question is though how to set ADC12 to use the reference voltage of Avcc?
As for the part marked orange: does the statement means that the REF-generated voltage is available as the output on the VRef+ pin of f5529 (P5.0)?
Best Regards,
tml