Hey guys, I've got a question about an RC filter on the VRef of the same DAC used on Adafruit's Wave Shield.
Here is the datasheet for the DAC in question:
And here is the schematic for the Wave Shield:
You can see they've placed a 16Hz LPF comprised of a 100K resistor and .1uF capacitor on the DACs VRef/REFA pin.
I used this same DAC in a previous design and ended up with a lot of noise from my servos and LED drivers getting into my audio system, so in my next design in addition to including more capacitors to supply power to those I've also been double checking the audio system. I'm not looking for decoupling tips for the LED drivers in this thread, I just want to understand how this filter functions in conjunction with the chip.
Anyway, the reason for my question is I noticed that with this DAC you can enable a "buffered" VRef mode. The data sheet wasn't very clear on what that is, but I'd hoped enabling it would reduce the noise somewhat. Doing so appears to have done nothing however.
The datasheet seems to indicate that buffered mode greatly increases the input impedance on VRef, but it also indicates the voltage reference then needs to be slightly below Vdd. The input to Vref was 5V I assumed. So I'm not sure if enabling buffered mode would be bad for the chip or lead to clipped audio, but again, I tried it on my old circuit and it seemed to function the same as before.
I then did some googling and found this thread on the Arduino forum:
http://forum.arduino.cc/index.php/topic,199374.0.html
Someone there suggested that the 100K resistor was a bad choice and that the 100K resistor in the LPF formed a voltage divider with the input impedance of the VRef pin. In unbuffered mode, that is 165K. In buffered mode, the datasheet doesn't appear to say, other than that it is much higher.
If that forms a voltage divider however I would have assumed my audio volume level would be affected. Passing 4096 to the DAC if Vref is 2.5V after all, should result in a 2.5V output. That doesn't seem to be the case though. Because again, I attempted to enable that buffer, and it did nothing. If the buffer's impedance is far higher than the unbuffered mode, as the datasheet indicates, then I would have expected Vref to be much closer to 5V, and for my audio to therefore be twice as loud. But like I said, in enabling it, I heard no change.
Since I'm redesigning the circuit, I could reduce that resistor, or stick a 1uF cap on there to reduce the LPF to 1.6Hz instead of 16Hz as it is now, and I assume that would reduce the noise further. I could also stick two capacitors and two resistors on there to make a second order filter. But the question remains whether I should even bother. I could leave some pads there and just not populate them I suppose. But if this isn't going to actually reduce the noise in the audio by any perceptible amount, then I'd rather not go overboard and take up board space with additional unnecessary pads.
Any insight into what's going on here would be appreciated. I really need to wrap this design up this week.