Other Parts Discussed in Thread: MSP430F5437
Hi,
I'm using the new MSP430F5437 and I'm trying to write a simple application that enables the 1.5V VREF+ signal on the MSP430. I want to use this signal in an op amp circuit to create a DC offset on an analog signal. I've read through the documentation, but I can't figure out how to turn the 1.5VDC reference on. My code is as follows:
P5SEL = 0x03; // Enable Vref+ and Vref-
P5DIR = 0x03; // Make Vref+ and Vref- output direction
ADC12CTL0 = 0x20; // REF2_5V = 0, ADC12REFON = 1
When I measure the output voltage on the Vref+ pin (P5.0), it still measures 0V, not 1.5V.
Am I missing a step?
thanks
Michael