This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何使MSP430F169DAC最大输出为3.3v?

Other Parts Discussed in Thread: MSP430F169

//*******************************************************************************
//  MSP-FET430P140 Demo - DAC12_0, Output 1.0V on DAC0
//
//  Description: Using DAC12.0 and 2.5V ADC12REF reference with a gain of 1,
//  output 1V on P6.6. Ouput accuracy is specified by that of the ADC12REF.
//  //* MSP430F169 Device Required *//
//
//               MSP430F169
//            -----------------
//        /|\|              XIN|-
//         | |                 |
//         --|RST          XOUT|-
//           |                 |
//           |        DAC0/P6.6|--> 1V
//           |                 |
//
//  M. Buccini
//  Texas Instruments Inc.
//  Feb 2005
//  Built with IAR Embedded Workbench Version: 3.21A
//******************************************************************************

#include  <msp430x16x.h>

void main(void)
{
  WDTCTL = WDTPW + WDTHOLD;                 // Stop watchdog timer
  ADC12CTL0 = REF2_5V + REFON;              // Internal 2.5V ref on
  DAC12_0CTL = DAC12IR + DAC12AMP_5 + DAC12ENC;   // Internal ref gain 1
  DAC12_0DAT = 0x666;                      // 1V

  _BIS_SR(LPM4_bits);                       // Enter LPM4
}

上面是TI的例程,我怎么改才能让输出最大为3.3v?

求指教