Jump to content
IGNORED

USB audio cracked... finally!


Recommended Posts

There are two main transfer protocols covered in the USB 2.0 specification: bulk transfer mode - used mainly by storage devices such as flash drives and external USB hard drives, and isochronous transfer mode, using by streaming devices such as webcams and modern DACs.  Specifically, DACs tend to use "isochronous transfer mode with asynchronous feedback" for digital audio data transfer over USB.  This transfer mode does not support data re-sending upon error detection by the receiver.  It favors predictable data transfer bandwidth and latency over data integrity.

 

I suspect there is a fair amount of unavoidable periodicity in this isochronous transfer mode.  For example, packet rate is 8KHz.  In contrast, the bulk transfer mode, by not guaranteeing transfer bandwidth or latency, may actually be less periodic in the way the data fly over the cable from sender to receiver.  Is it possibly what Peter has figured out, by making his DAC support only USB bulk transfer mode, along with a deep FIFO data buffer to smooth out the extreme irregularities of USB data arriving at the DAC?

 

I also wonder if a USB cable designed to intentionally affect the error rate of USB data transfer can affect the sound.  The transfer protocol is negotiated between the USB host controller and the USB device (e.g. DAC), and the USB cable being a passive design cannot influence the protocol negotiation in any way, but the cable is in a position to alter data transmission integrity.  Is this perhaps a case where the most spec compliant USB cable design (e.g. 90 ohm differential impedance) may not translate to the most desired sound???  If a USB cable can induce a certain amount of random data transmission errors the increased randomness in how the data goes over the cable *may* be sonically beneficial?

 

Just thinking out loud here...

 

Link to comment
27 minutes ago, mmerrill99 said:

Yes, bandwidth limiting that affects the signal shape seems to have an audible effect - this includes USB cables which are not of sufficient bandwidth.

 

If we consider USB high speed is 480Mbps or 480MHz fundamental frequency & to represent a half decent square wave requires at least 3 harmonics (some say 5 harmonics) we have a requirement for passing 480MHz X 3 = 1.44GHz bandwidth requirement for a cable or if you want to consider 5 harmonics necessary for a good squarewave then 480X5 or 2.4GHz badwidth cable is necessary!

I found this statement in the USB 2.0 Specification, for high-speed (480Mbps) transfer rate:

 

For a hub, or for a device with detachable cable, the 10% to 90% high-speed differential rise and fall times must be 500ps or longer when measured at the A or B receptacles (respectively).

 

The differential signals on the D+ & D- lines don't need to be as square as possible.  The rise/fall times need to be fast enough to pass well defined eye pattern requirements.  In modern motherboard designs with USB ports, there are often design trade-offs between USB signal integrity and EMC compliance.  Insertion of inline common mode chokes are used to mitigate EMC issues but can lead to waveform distortions that can affect transmission integrity.  These issues are observable via eye pattern measurements.

 

Alterations of USB signal rise/fall times (e.g. by a cable) can lead to timing differences at the receiver, since USB employs embedded clock technology (i.e. no separate clock wires alongside the data wires).  The USB PHY on the receiving end has to work harder to retrieve the bit stream in real time if the incoming USB signal integrity is poor.  This is now quite well understood, albeit rather recently.  There's an optimum range of rise/fall times, and anything too slow or too fast will be detrimental (in different ways).

 

So I don't doubt different USB cables can result in different sound.  Immunizing a DAC against the effects of a USB cable connected to it has not been trivial and there hasn't been a lot of success cases AFAIK.

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...