Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 27225

Forum Post: RE: ADS8201: How to read ADC from ADS8201

$
0
0
Dear Tom, Thanks for your hint. In my side, //==========Hardware========== REF = VA = VD = 3,33V; ADCIN = AGND = REFGND = 0V; PGAOUT = PGAREF = 0V; //===========Software========== //Hardware Reset RST = 0; delay_us(1); RST = 1; //set to Idle Mode Write 0x00 to Register 0x08; //select channel 6 Write 0x06 to register 0x04; While(1) { ReadADC(); //I read adc by sending 0x0000 0x0000 using SPI(MODE 0, MSB First) Delay(1s); } I see that: > with 0V, I read 0x0000 > with 2V, I read 0xFF70 0x8000. > I increase from 2V to 3v3, it still 0xFF70 0x8000. I don't know what problems. May you suggest me a configuration for reading ADC from a single chanel and multiple single also. Thanks And Best Regards, Tam

Viewing all articles
Browse latest Browse all 27225

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>