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.

msp430i2041sd24采样

Other Parts Discussed in Thread: MSP430I2041

您好!

最近在调msp430i2041外设SD24检测电压,遇到了几个问题,希望您能帮忙指导下。

1、数据手册说内部参考电压是1.2V,但是我需要检测的电压值最大2V多,所以只能采用外部参考电压,请问外部参考电压该怎么接?现在原理图接法是A3.0+接检测端,A3.0-接GND,VREF串个0.1uf接GDN。

2、如下是个简单的测试程序:

unsigned long int results; // SD24 Conversion Results

void main(void){

    WDTCTL = WDTPW | WDTHOLD; // Stop WDT

    //SD24CTL = SD24REFS; // Internal ref
    SD24CCTL3 |= SD24SNGL |SD24DF; // Single sample, 2's complement
    //SD24INCTL3 |= SD24INCH_3;

    __delay_cycles(3200); // Delay ~200us for 1.2V ref to settle

    while(1)
    {
          SD24CCTL3 |= SD24SC; // Set bit to start conversion
          while(!(SD24CCTL3 & SD24IFG)); // Poll IFG until conversion completes
          results = SD24MEM3; // Save SD24 conversion results
         __no_operation(); // SET BREAKPOINT HERE
     }
}

最大只能检测到0.6V,超过0.6V的电压,AD值满量程输出为32768,请问怎么扩大检测范围?

3、该AD采样为24位,怎么得到一个24位值?

谢谢您!