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.

ADS8328采集异常

Other Parts Discussed in Thread: DAC8831, ADS8328

使用ADS8328时当输入电压变化时,输出不会变化,出现输出值为24956(617c),25084(61fc),感觉从16位变成9位的样子,参考使用MAX6225,输入用DAC8831产生的电压,以0.1mV上升,基本上要上升几到十几个mV会变化。

 

writeword8328(0x1000);//选择模拟通道ch1
 PORTB&=~(1<<PORTB5);//nCONVST=0
 do
 {
  temp1=PINB&(1<<PINB4);//EOC
 } 
 while(temp1==0);
 //PORTB|=(1<<PORTB5);//nCONVST=1
 temp2=readword8328(0xd000);//读数据
 PORTB|=(1<<PORTB5);//nCONVST=1

CFR寄存器写的是0xe6fd