Post Go back to editing

Data Interface no valid Data from AD4858

Category: Hardware
Product Number: AD4858

Hi,

I am getting stuck reading data from the AD4858 data interface on SDO0

Writing and Reading the config registers work well. To check the data connection i set the Enable TestPattern Bit in Register 0x26

I modifed each Testpattern in Register 0x38 to 0x3B in 0xAA (so 0xAAAAAAAA)

Unfortunately the data is anything but not the right one.

here is an image from the signals (YE=conv, GN = busy, BL=SCK SPI, VI=SDO0

I think the first two bits of the SDO0 (MISO) are correct , but then when BUSY goes high and toogles (... is this ok??) data is nonsense

Why get busy high during transmission?

Here is an image of the configuration:

Funnily here the Busy Line of the ADC also toggles...

My parts are:

ADC: EVAL-AD4858

Host: STM32H723 Nucleo Eval Board

My Configuration:

Data link ADC-Host : CMOS (Pin LVDS/CMOS set to GND)

     Config Interface: SPI2 from ST, Clk 510kHz

     Data Interface: SPI1 from ST, Clk 1MHz, only SDO0 used

My Initalization:

1) Enable CSD_EN and Software Reset

2) Enable INST_MODE, Set to Nonstreaming Instruction Mode

3) Enable CSD_EN

4) Read Device Type (check if ADC is responding)

5) Enabel TestPattern

6) Write TestPattern to ADC

Then CONV Signal is set .... and (wrong) data is read

I am really despairing ... trying everything in the last 3 weeks, also called the local sales representative - without effect

did anyone known this problem or can  give me an hint

would be great

many thanks for every comment

Otmar

Parents
  • Hi Otmar,

    Yes, that does not make sense to have BUSY toggling so frequently. It should only toggle once when a CNV pulse is received, and stay high for as long as the conversion time (around 665ns).

    Is BUSY toggling at the same frequency as SCLK? What is the SCLK frequency? Is there a chance that your SCLK signal being coupled into either CNV or BUSY?

    These scope shots you sent are by using the Nucleo board? If so, and you also the zedboard, can you also try to connect ACE to the EVAL-AD4858FMCZ just to verify the devices works well with the ACE software provided?

    Thanks,

    Lluis.

  • Hi LIuis

    thanks for your answer

    I assume also a crosstalk from SCLK to CNV. To check this i added a Pullup at the CNV and BUSY Port  on my Testboard.

    The result was a lower "BUSY acitvity" during Data reading but not completely gone...

    Yes the scopes were from my Nucleo Board.

    I have an scopc from the signals on the zedboard and the EVAL Board - there  the comunication works but looks "very interesting"

    The timing is different than in the datasheet described

    The CS line (brown) is always 0 - i thought the CS line must always be enabled/disabled?

    The CONV signal is set during Data communication - is this ok?

    The signal lines  (CONV, BUSY, SCLK, ...) on the EVAL are very long and all are in parallel - predestinated

    for coupling

    So make it sense to design a own board with the AD4858 and my STM controller where the signal paths are short?

    What do you think?

    thanks

    kind regards

    otmar

  • Hi  

    Were you able to solve the issue ?

    We are facing a similar problem:

    • The SDOx lines always return garbage data
    • The BUSY line shows parasitic toggling activity where none should be present

    Could you confirm whether your issue was linked to the parasitic activity on BUSY, or was that only a side effect of another root cause ?

    Best regards

  • Hi PiR

    Not yet, but I am working on it.

    I guess (and also hope) the problem is the layout of the evaluation board. Because the tracks of the signal are close to each other. If you use the LVDS interface this wont be a problem. So I have designed a new board.  This is now in production and will be finished in 2 weeks - then i can say more when i have tested the board

    best regards

  • Hi ,

    Thank you for your feedback.

    I have spent some time investigating this issue on my side. I am using the AD4853 instead of the AD4858, but the symptoms are very similar, and since these devices belong to the same family I believe my findings could also apply to your case.

    In my setup, there was indeed crosstalk between the SCKI and CNV signals. At each SCKI rising edge, a voltage spike of about 820 mV appeared on the CNV line. This is just enough to trigger a new conversion, since the threshold is 800 mV (according to the datasheet). This occurs systematically on rising edges. The falling edges sometimes produce smaller spikes, but less consistently.

    The garbage data observed on the SDOx lines turned out to be the result of conversions being unintentionally retriggered. You can see this clearly on an oscilloscope because the duration of each SDOx bit becomes inconsistent, while a logic analyzer (at least mine) does not show this behavior clearly.

    A solution I found is adding a 470 Ohm series resistor directly next to the ADC on the CNV trace (I have not tuned the exact value yet). This slows down the CNV signal and reduces the crosstalk amplitude to just a few dozen millivolts. It works reliably while still allowing CNV pulses that are shorter than the BUSY pulse. Maybe  or someone from ADI could confirm whether this is recommended or not ?

    Adding a pull-down resistor on either SCKI or CNV did not resolve the issue, this is consistent with what you mentioned earlier.

    As for the origin of the crosstalk, it is quite interesting. It seems to come from the ADC itself. Disconnecting the SCKI wire from the ADC (while keeping it connected to the MCU) eliminates the spikes entirely, so the master is not the source. With the 470 Ohm resistor in place, even with long wires and in particular CNV and SCKI wires parallel and close to each other show no coupling issues.
    Perhaps ADI could comment on this behavior as well?

    I hope these observations help.
    Best regards

  • Hi PiR

    thanks for your detailed answer.

    Did you also use the evaluation board?

    In my current there is place for a LP Filter in each data line, to reduce the harmonics - if necessary...

    I am confident my board works, when you overcome the problem with  470R in series. I will give feedback as soon as possible

    best regards

    opi

  • Hi,

    I do not use the evaluation board.

    Regards

  • Hi PiR,

    As this never showed up on the evaluation board, i would not conclude "the origin of the crosstalk is coming from the ADC itself". Inside the die, CNV is shielded from outside interference. The only potential path I see is through GND, if you had a poor GND plane. Note that on our evaluation board, CNV and SCKI are routed quite far from each other, so I wouldn’t expect to see much coupling due to the PCB traces in our EVAL setup.

    Would you be able to share your layout for us to comment?

    Regards,

    Lluis.

  • Hi Pir, Hi LIuis

    Good News :-)

    My new designed Board works. No glitches or toggling of the BUSY Line. The data (Testpattern) is at it should be. So I am very happy my design fulfilled the requirements.

    My implementations is as follows.

    SDO0 & SCKI Line: 33R Series R,

    BUSY & CNV Line: LP Filter: 33R Series R, 680pF Parallel C

    LineLength about 15mm, of course Powerplane (Splitted)

    To: Pir  - hope it helps you for your project

    My summary: The CMOS interface of the AD4858 is ok, but the layout of the evaluation board is very bad and only for LVDS. The operation via CMOS is not  possible

    best regards

    Otmar

  • Hi  and ,

    Please excuse the delay before this reply.

    Opi, Great news! Have you tried the new design without the low pass filter ? The datasheet makes no mention of it, so it should not be required. 

    Lluis, please find with this link the files for a simple breakout board. It only works reliably with the series resistor on CNV as explained before.

    Regards,

  • Hello Opi,

    It looks like you are doing something very similar to what I am working on. How did you end up connecting to the SPI interface using only the evaluation board? Were you able to find a good FMC breakout?

    I found this breakout board on Digikey that seems like it would work, but didn't know if you had a better solution: CYUSB3ACC-005

    Thanks

Reply
  • Hello Opi,

    It looks like you are doing something very similar to what I am working on. How did you end up connecting to the SPI interface using only the evaluation board? Were you able to find a good FMC breakout?

    I found this breakout board on Digikey that seems like it would work, but didn't know if you had a better solution: CYUSB3ACC-005

    Thanks

Children
  • Hi sloops

    I first use a breakout Board, but the SPI Data Interface doesn't work. So i thougth the Breakoutboard ist the Problem.

    Next i direct solder wires on the testing board on the evaluation board - but the problems still remain.

    I think the routing of the SPI data lines is very poor.

    Perhaps you can try to insert a LP filter in the sensitive data lines.

    best regards

    otmar