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.

DSP28335 AD使用的是外部基准电压,测量结果和内部3V基准一样,请问



InitAdc()程序里进行配置,配置如下:

AdcRegs.ADCREFSEL.bit.REF_SEL =0x01; //选择外部参考电压为2.048v
AdcRegs.ADCTRL3.all = 0x00E0; // Power up bandgap/reference/ADC circuits
DELAY_US(ADC_usDELAY); // Delay before converting ADC channels

无论使用内部基准还是外部基准,计算公式一样吗

Digital Value =4096x(Input Analog Voltage-ADCLO)/3