Fixing a Dodgy Cheap Audio DAC
One of the attractions of buying at the bottom end of the electronics market by mail order from China is that you never quite know what will come your way. Sometimes itβs a diamond in the rough, while with others itβs a mess. Occasionally along comes something which should work but doesnβt, and thatβs the moment when you wonder if you could fix it. [Nyanpasu64] had just such a device, an HDMI to VGA converter with audio that didnβt work. What could be wrong?
The HDMI to VGA chip has an onboard audio digital-to-analog converter (DAC), and itβs a delta-sigma design. This type of DAC is frequently used in audio applications because it works by shifting its switching frequency many times higher than the input sample rate, thus reducing considerably the distortion. This one wasnβt performing as advertised though, and the problem turned out to be that switching frequency being all over the output. Clearly the filter wasnβt working, which led to the design of a new filter. The write-up is therefore an extensive dive into filter design, and in part also a discovery of the effect of impedance on them.
For a super-cheap module to cause so much work, one might ask why not simply spend a few more dollars and get a better one. But had they done that we wouldnβt have seen this write-up, so weβre sticking with team cheap.
Weβve looked at audio DACs, in the past.