我用 F2837X controlCAD 的ADC测量一节AA电池。万用表测量电池电压是1.624V。 ADC每次测量结果都不一样。谁知道为什么吗?程序用的是ControlSUITE 里面的例子“adc_soc_continuous_cpu01” 。 下面是我截取的两轮的测量结果。
ADCRESULT0 0x07E2 ADC Result 0 Register [Memory Mapped]
ADCRESULT1 0x0816 ADC Result 1 Register [Memory Mapped]
ADCRESULT2 0x0805 ADC Result 2 Register [Memory Mapped]
ADCRESULT3 0x07DE ADC Result 3 Register [Memory Mapped]
ADCRESULT4 0x07FC ADC Result 4 Register [Memory Mapped]
ADCRESULT5 0x0807 ADC Result 5 Register [Memory Mapped]
ADCRESULT6 0x07D2 ADC Result 6 Register [Memory Mapped]
ADCRESULT7 0x0800 ADC Result 7 Register [Memory Mapped]
ADCRESULT8 0x07DC ADC Result 8 Register [Memory Mapped]
ADCRESULT9 0x07E7 ADC Result 9 Register [Memory Mapped]
ADCRESULT10 0x080D ADC Result 10 Register [Memory Mapped]
ADCRESULT11 0x07F3 ADC Result 11 Register [Memory Mapped]
ADCRESULT12 0x07F7 ADC Result 12 Register [Memory Mapped]
ADCRESULT13 0x0818 ADC Result 13 Register [Memory Mapped]
ADCRESULT14 0x07FB ADC Result 14 Register [Memory Mapped]
ADCRESULT15 0x07F5 ADC Result 15 Register [Memory Mapped]