Author Topic: AD7798 ADC DATA READ PROBLEM  (Read 738 times)

0 Members and 1 Guest are viewing this topic.

Offline the_mighty@420Topic starter

  • Newbie
  • Posts: 3
  • Country: in
AD7798 ADC DATA READ PROBLEM
« on: December 18, 2018, 07:45:26 am »
I'm facing problem when reading data register, |O
The SPI communication works perfect, all the registers can be write/read. :-+
The data register show -1 (which in datasheet indicates that there is a problem in Vref, checked with setting REF_DET bit and reading STATUS register which shows 0x60).
I'm using adc in BIPOLAR MODE, the steps performed to initialize adc are,
1. send  0x000A to mode reg.( this sets adc in continuous mode with 16.7 Hz update rate).
2. send 0x0030 to conf. reg.( this sets adc in bipolar, Gain 1, reference detect ON, BUFFER ON, Channel to 1 ie AIN1+ and AIN1-.
3. send 0x60 to IO reg. to check p1 and p2 are working.

Please advice why is this happening am i giving wrong Vref, but the datasheet show Vref can be in between 0.1-AVdd and for this i can read upto +-AVdd-100mV (BUFF ON).
Please see attached image for reference.
I'm trying this CKT from a week now, monitoring Vdd mode works gives some integer value and STATUS reg. shows 4 in this case.
« Last Edit: December 18, 2018, 08:45:57 am by the_mighty@420 »
 

Offline the_mighty@420Topic starter

  • Newbie
  • Posts: 3
  • Country: in
Re: AD7798 ADC DATA READ PROBLEM
« Reply #1 on: December 19, 2018, 07:54:54 am »
 :-DD :-DD
Problem solved.
 While designing PCB misplaced the PIN 9 with PIN 10, so the Vref(+) was at ground potential.

Now all OK.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf