Post Go back to editing

AD7091 return wrong value

Category: Hardware
Product Number: AD7091

Hi.

I apologize in advance for the bad english.

I'm developing with AD7091.

My problem is ADC gives wrong value.

And If I get data more often, peak points appears.

VDD is 5V.

When input voltage is 500mV, expected value is around 0x19A(410). But I get around 0x334(820). 

And input voltage is 1V, expected value is around 0x334(820). But I get around 0x668(1640). 

Working like 2.5V input range.

Also, there is one more problem.

If I get data more faster, peak point appears.

2 kHz data acquisition rate with around 500mV input.

10 kHz data acquisition rate with around 500mV input.

Here's logic analyzer capture (10kHz acquisition, input voltage around 500mV)

I did software reset before main loop.

I have no clue about this.

Parents
  • Hi,  .

    I think you are getting the correct values. You have stated that when 500 mV is the input, you are getting a decimal value of 820, right? But that is how it should be. AD7091 uses a straight binary conversion. I am assuming you are using its internal reference, 2.5V, right? Then, this is how it was calculated.

    [Vin/Vref] x [2^N]

    [500 mV/ Vref] x [2^12] = 819.2 or 820.

    On the other hand, on your scope shot, it seems that SCLK lacks 4 pulses. I am seeing 12 SCLK pulses. It should be 16 SCLK cycle.  Are you using a custom eval board and controller board? If yes, would you mind sharing your schematic and the flow of your code from your bin file?

    Regards,
    Jo

  • Hi.

    I'm using AD7091(exactly, AD7091BCPZ) not AD7091R.

    Following the datasheet, reference is provided by VDD. (https://www.analog.com/media/en/technical-documentation/data-sheets/AD7091.PDF) So I thought ref is 5V.

    I just followed because it was explained using 12 SCLK in the datasheet. I'll try with 16 SCLK.

    Schematic I use is same with typical connection diagram in datasheet. (Not using pull-up resistor on SDO)

Reply Children

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.