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的ADC 每次上电对同一电压的测量不同 存在偏差

 使用内部基准 ADC输入带运放缓冲 使用示波器 万用表测量发现输入电压并没有发生变化

但是ADC测量值要么

第一次上电 897 896 898 896。。。

第二次上电 906 907 906 907 905。。。

第三次上电 926 927 926 927 925。。。

重复上电发现测量值在以上三组不同的值波动

但是输入电压没有发生变化

不知道为什么 每次只要不掉电,测量不会发生大的变化

但是反复上电断电时,ADC测量的偏置误差会发生最大20多个LSB的变化 不知道为什么 求解

AdcRegs.ADCTRL1.bit.ACQ_PS = ACQPS[0]; \
AdcRegs.ADCTRL1.bit.CPS = 1; \
AdcRegs.ADCTRL3.bit.ADCCLKPS = 0; \
AdcRegs.ADCTRL1.bit.SEQ_CASC = 0; /* 0x0 Dual Sequencer Mode, 0x1 Cascaded Mode*/ \
AdcRegs.ADCTRL2.bit.INT_ENA_SEQ1 = 0x0; \
AdcRegs.ADCTRL2.bit.RST_SEQ1 = 0x1; \
AdcRegs.ADCTRL2.bit.RST_SEQ2 = 0x1; \
AdcRegs.ADCTRL2.bit.EPWM_SOCA_SEQ1=0x1; /* enable SOC from EPWMA trigger*/ \

EPWM触发ADC采样