Post Go back to editing

AD9204-80EBZ SPI communication problem: no response

Category: Software
Product Number: ad9204

Hi,

my name is Sebastian and I am a student from germany.

I have a problem with the SPI communication between the AD9204-80EBZ and my SAM V71Q21B. I cannot get any read output from the device. The configuration of the SPI protocol is shown in picture 1. I use MPLAB X IDE for programing.

picture1

The next pictures show what I can see on the oscilloscope: complete communication protocoll (2x 1 byte write, 1 byte read) and each package with better timeresolution

Blue is MOSI and pink is MISO

complete protocoll.read commandAdressBitread_package detailed signal

First picture shows the complete transaction: 8bit with first bit high for read, next 8 bit with last bit high for ID address and then the read instruction. Also one picture to see the timings of the SPI.

Maybe my SPI parameters are not configured correctly? Is it a problem that my MOSI is high on idle, since the SPI on the AD9204 side is implemented with one SDIO line at the ADC behind the NC7WZ07P6X?

Also I am a little bit confused about the capacity characteristics from the MISO line (pink). I changed the BNC cable between MOSI and MISO with same results, so the characteristics should come from the ADC board. 

The SPI pins on the eval_board are between (1-2), (4-5) and (8-9). Also a jumper is placed on J605 for the internal clock.

The colors on the picture below are corresponding to the colors on the oscilloscope: yellow: chipSelect, green:clock, blue:MOSI

jumpers and cables

I'm realy greatful for input or any suggestions regarding a solution. Thanks!

  • Hello Bastian,

    Thank you for your interest in AD9204.

    Your query is acknowledged. Kindly give time for the product owner to look into this and provide their response.

    Thanks.

  • Hi  ,

    Thank you for your interest in AD9204.

    Here's some things I'd like you to try.

    1. Could you try lowering your SCLK speed maybe about 1MHz at first? Just until the SPI is confirmed working and work your way up to the desired frequency later on.
    2. The NC7WZ07P6X is an open-drain output, please try keeping the MOSI in high state after sending the 16bit read instruction.

    Let me know if there is an improvement.

    Best regards,
    Peevee

  • Hello,

    thanks for the answer. I tried your suggestions, unfortunately there is no improvement. I attached pictures with the new settings.

    I also measured AVDD and DRVDD, both are around 1.8V. Does the DRVDD needs to be around 3.3 for internal reference (because my SAM board sets the high lvl to around 3.3)? I run the Board on default mode. The datasheet states, that a 3.3V powersupply might be needed but I thought this would only be the case if i remove the ferrite beads. If I go to table 3 it states that LOGIC INPUTS are max. DRVDD + 0.3 .

    I will try to talk to a different ADC (AD7888) to see if there is a Problem with the ADC or with the SAM µC.

    Do I need to write any register before reading the Chip ID?

    Kindly,

    Sebastian

  • Hello,

    I got some new behaviour. If I "read" multiple Bytes with chip select inactive between them i get this periodic signal:

    complete transactiondetailed signal