6
\$\begingroup\$

This is the most interesting thing I have seen! I have built a DDS that sends data (D0-D7) to a DAC (ADV2175). The design worked fine and I just have a low frequency alias noise (a question here). This noise was present on all my ground planes (This is in prototyping stage and that's not unexpected from the test PCB).

I started tracing the noise path by disconnecting wires to see when the noise is gone. Surprisingly even after disconnecting all VCC and GND connections (+ all VREF and logics gone to 0 or 1) the noise was present yet. The more unexpected behavior is when the DAC is just connected to DATA port+ CLK pin (all coming from the source FPGA, NO VCC or GND), it continues working and a sine wave is produced (but with the same noise)!!!

First I thought it may receive its VCC/GND form the logic 1/0 fed into it but if it was correct, it should not have produce 0x00 and 0xFF levels, but it makes those levels correctly (I changed 0xFF data stage to another level and a notch appeared on top of the waves. this shows it can build oxFF correctly).

This is a big challenge for my PCB design, as if this device really takes its GND from the data port, instead of the dedicated pins, I will have a hard time for designing a reliable ground plane for it (the return voltage should go back to a logic noisy environment and analog-digital ground plane isolation may be impossible).

Can anyone explain what is happening there?

\$\endgroup\$
  • \$\begingroup\$ A link to the DAC's datasheet might be useful. \$\endgroup\$ – Brian Drummond Nov 24 '13 at 12:29
  • \$\begingroup\$ I'll also reiterate 2 questions in prev comments: 1) schematic showing DAC output, filter block, terminations, measurement point may help, and 2) what does the rate of that LF step in fig.7 correspond to? \$\endgroup\$ – Brian Drummond Nov 24 '13 at 12:35
  • \$\begingroup\$ @BrianDrummond I have some problem with my internet speed that can't upload photos. I will put them ASAP. Thanks! \$\endgroup\$ – Aug Nov 24 '13 at 13:22
14
\$\begingroup\$

All in- and outputs on most digital devices today have clamp diodes to the power rail. These diodes are there for protection of the device, to prevent a pin from having a higher or lower voltage than the supply rail. What you are experiencing here is that you actually power the DAC through its data pins and the respective protection diodes. Although the device seems to work, it is not designed for this mode of operation. For example you may easily exceed maximum pin current or maximum protection diode current. It is often unspecified if and how a device fails when doing so.

schematic

simulate this circuit – Schematic created using CircuitLab

And below is what happens when you connect two or more input pins, remove the regular power supply (and add the decoupling cap). If you look carefully, you'll notice that the four diode clamps form a diode bridge rectifier (Graetz circuit). According to the article linked in the @PeteKirkham comment below, the external cap isn't even necessary. Probably the parasitic capacity in the device is in that case already enough to power the device.

schematic

simulate this circuit

\$\endgroup\$
  • \$\begingroup\$ thanks! that's for the vcc. what about the GND? According to the last part of the question, my main concern is about the GND. the device can get GND via a reverse biased diode ( the lower diode )? \$\endgroup\$ – Aug Nov 24 '13 at 11:37
  • \$\begingroup\$ @Aug if you have two inputs, one at a lower voltage than the other, then current can flow in one and out the other with neither diode reverse biased. \$\endgroup\$ – Pete Kirkham Nov 24 '13 at 13:05
  • 1
    \$\begingroup\$ Yes, what @PeteKirkham says. And the decoupling cap takes care of brief moments where all inputs are 0 or all inputs are 1, which has pretty low probability. \$\endgroup\$ – jippie Nov 24 '13 at 16:42
  • 2
    \$\begingroup\$ There is an article somewhere around the web, how to build an RFID spoofer card with an avr and a coild. The coil is directly soldered to 2 GPIOs. One of the trick used is that the AVR is powered through the protection diodes during recenption! \$\endgroup\$ – Vorac Nov 26 '13 at 8:27
  • 3
    \$\begingroup\$ Avr RFID - scanlime.org/2008/09/using-an-avr-as-an-rfid-tag \$\endgroup\$ – Pete Kirkham Nov 27 '13 at 20:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.