Post Go back to editing

AD5686R output cuts in and out at very random intervals.

Thread Summary

The user encountered inconsistent DAC output on the AD5686R evaluation board (AD5686RSDZ) when using external 3.3V power and SPI communication at 12MHz. The issue was resolved by using DMA for SPI data transmission, which improved data integrity. Additional troubleshooting revealed that the power down mode was being randomly set, which was mitigated by continuously writing power mode 0,0, and that the board could operate with only a ground connection, suggesting parasitic power from the SPI lines.
AI Generated Content
Product Number: AD5686R
Software Version: 0

Hi all, I have the AD5686R evaluation board (AD5686RSDZ). All the setup was done with no SDP. I set my jumpers as so.

PWRSEL   to EXT_SUP  as I use external 3.3v and a good clean ground.
REF none to use internal.
P1  in-place

I tied

LDAC low
RESETB high
RSTSEL low
Vio high

I see I'm getting a nice constant SPI transmission verified with a scope and logic analyzer. Also have a scope on the output DAC 1,2,3,4

I'm sending 0x31, data High, data Low  and 0x32, data High, data Low

I see a good waveform that comes and goes at random intervals. It can be shown up to 1 minute at times, and then absent for another. Or show up and go flat after a few seconds. Nothing I do seems to influences this.  Also to note both DAC are independent of each other in respect to this problem. One can be ok were the other may not. I know the data from the SPI is good, so it must have to do with the DAC generating the output.  The data is sent 12MHz at a sample rated of 100Hz. Each packet 1uS apart.

Anyone have a a thought?

Edit Notes

added a note.
[edited by: ulao at 4:24 PM (GMT -4) on 22 May 2023]
  • huh, If set the power down mode to 0 for all DACS and the issue is nearly gone. I do have to send the mode every sample.

    Also if I lower the speed to 5MHz I get the same, again the issue is better. In both of these cases, the single shows for many minutes and one or the other will drop out completely for a few minutes and then come back to life.

    I did go back and check all the connections and tried tapping areas of the board with no change corresponding to those events.

    Last note to add here, is that the board seems to run with no power source. I'm set to use external but  it run fine with a ground only. Clearly getting power from the  SPI somehow.

    I think maybe I have 2 issues

    1) Data integrity, solved by slowing things down.

    2) Something is changing my power down modes, but I do not see this on the analyzer. Constantly setting 0,0 seems to fix it.

  • I have isolated the issue but unclear as to why. I have proven the registers are being clobbered or something is filling them with floating data.  If I continuously write power mode 0,0 and data they are ok.  If I do not continuously write power down mode 0,0, the power down mode is randomly set. Likewise if I send data to a register via command 3, and stop sending the output floats. I would assume you do not have to continually write to the registers?

  • Hi  ,

    I moved this thread to the Precision DAC community, hopefully someone here would be able to assist you better. 

    Best regards,

    Marco

  • Hi,

    Based on your descriptions these issues are unusual and may indicate setup errors. Please provide:

    1.) A diagram or schematic of your setup, showing the AD5686R connections to power, SPI, and load etc.

    2.) A confirmation of clean and stable ground and power for the AD5686R, and correct logic levels for input pins when SPI is idle. Floating inputs can cause errors.

    3.) A scope capture of the SPI bus. Check for noise or glitches on the SPI bus.

    4.) If available kindly try using ACE software and SDP board to exercise all functionalities to provide comparison to your current set-up.

    Best Regard,

    Den

  • 1)  The board is untouched minus the  SDP. The only other modification to the board are as follows.

    2) We used a 1 inch in length,  17 gauge copper wire for ground and experimented with 3-5 volts. 

    3) We noticed lots of noise on the SPI so we added 50 Ohm resister in series with both data and clock. We still thinking maybe this is our issue, but the issue can be so seldom at times. It would be nearly impossible to capture the scope at the time of the bad data. A logic analyzer is not showing any dirty packets either.

    Here are a few captures on the scope.

    Clock seems to be ok, the data line has peaks but the sync line maybe the issue. Also note, there is no resister on that line. Please disregard the last line, I meant to turn that probe off, its floating. 

    4) We do not own this module. 

  • Hi  ,

    Thanks for your reply and details. Your scope shots show a very noisy SPI bus, which may be due to poor grounding, high clock frequency, or unfiltered SPI signals. Moreover, this suggests that there may be an issue with the setup rather than with the device itself. Please double-check the grounding and clock frequency, as these areas show more prominent noise.

    Best Regards,

    Den

  • Hi I'm having troubles influencing the results. Could anyone comment on any of the following?

    1) Can anyone show me what on the SPI is a sign of noise? I see the wave form dips, is this an issue.

    2) I have a 1 i ch thick copper wire to ground on a evaluation board. I know the eval board has a good ground as it has many high speed systems on it.  Since I'm using that same ground, what can I do to improve it. If I look at +5 to round on a scope the line looks pretty clean.

    3) Yes the SPI speed helps but it does not fix it, as I mentioned above it will cause the power down mode to occur less often. I can go down to a very slow clock and it may issue a ghost command once a minute or more. At 25MHz I see the ghost commands very often ( once every ms).

    I agree its a set up issue, but I'm not seeing what I could have wrong, what also could I share?

  • Ok I tracked down the issue.

    my MCU is chopping up my packets. Never saw this before, will need to look more in to the H735 MCU.

  • Hi,

    Glad to hear the problem is solved. I appreciate the info you've provided and we'll keep it in mind for future collateral generation.

    Best Regards,

    Den

More Content

Before You Switch


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