Other Parts Discussed in Thread: MSP430F155
Hi I am bit new to msp430 controller,
In my project i am using msp430f155 controller.....In adc if i use external reference my result will be correct ....but if i am using internal reference generator my answer is some what wrong...my input analog signal is 0.5V and external reference is 3.06V and the conversion answer is near to input signal(0.499V)....but in my internal reference case 0.5v and REF2_5V(2.5V) i got 0.410V......this my coding so please help ...
Thank YOU........!
WDTCTL = WDTPW+WDTHOLD;
P6SEL = 0x01;
ADC12CTL0 = ADC12ON+SHT0_8;
ADC12CTL1 = SHP;
ADC12MCTL0 = INCH_0;
ADC12IE = 0x01;
ADC12CTL0 |= ENC;
ADC12CTL0 |= ADC12SC;