Hi,
I am using MSP430F2274 and not able to understand the OP AMP
settings.I need to use both the Amps in non inverting PGA mode.I
have written below code
can anyone show me right way..
// AD init
ADC10AE0 |= BIT6; // P3.6 analog function(AD6=BATT)
// OpAmp init
OA0CTL1 = OAFBR_0 + OAFC_4; // Gain is 1, Non-inverting PGA mode
OA0CTL0 = OAP_0 + OAADC0; // "+" connected to OA0IO(P2.0), Output to
A12 & P4.3
OA1CTL1 = OAFBR_0 + OAFC_6; // Gain is 1, OA1I2 Non-inverting PGA mode
(input B)
OA1CTL0 = OAP_2 + OAADC0;// "+" connected to OA0I2(P3.7), Output to
A13 & P4.4
ADC10AE0 |= BIT0; // P2.0 analog function select(OA0I0)
ADC10AE1 |= BIT4 + BIT5; // P4.3,4 analog function(OA0O, OA1O)
Thankyou...
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )