This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TUSB211: Data transfer wrong from computer when use long(5m) usb cable

Part Number: TUSB211

Hi,

      Customer used TUSB211 chip in our new product to drive the USB audio( using a USB cable to connect computer or laptop , then playing wav or MP3 audio in PC and listen the sounds in our product). We found there are some click/pop sounds when playing the wav or MP3 .

 

         I used 440Hz sin wav to test and took a photo from oscilloscope as below

        

 

         We found the click/pop sounds was caused by receiving wrong data from computer. If reduce the cable length(For example, 0.8m), the click/pop sounds might disappear.

        

         Could you help us to solve this issue?

 

  • Hello Luke,

     

                    Please clarify what kind of communication you are transmitting. The TUSB211 works only with USB2 signals, specifically with High-speed (480Mbps), and the glitch that you observe seems to be the connection detection from our device. Please let me know whether the device is being enumerated in HS.

     

    Regards,

    Diego.

  • Hi Diego,

     

             Thanks for your reply.

     

             We used USB2 with High speed in enumerated and data transmitting.

  • Hi Joyce,

        The signal on the scope capture does not seem to be HS, please use an utility like the USB tree View to verify the speed connection on the device. Also, let me know the Host and Device that you are using. It shouldn't be any audio glitch when transferring the data packets.  Is it a bulk transfer or an Isochronous transfer?

    Regards,

    Diego.

  • The diagram is as follow.

  • Hi Diego,

       I am an engineer who responsible for this product. Thanks for your help. 

      1.   We used USB 2.0 to  enumerate in HS  

           const DeviceDescriptorAudio DeviceDescAudio =

        {

             sizeof(DeviceDescriptorAudio),                // bLength

             DSC_DEVICE,                                                 // bDescriptorType

             0x0200,                                                            //Specification Version(bcd)

             0x00,                                                                          // bDeviceClass

             0x00,                                                                          // bDeviceSubClass

             0x00,                                                                          // bDeviceProtocol

             EP0_PACKET_MAX_SIZE,                                     // bMaxPacketSize0

             0x0A67,                                                           // Vendor ID

             0x1238,                                                            // Product ID

             0x0100,                                                            // bcdDevice release,Version

             0x01,                                                                          // iManufacturer

             0x02,                                                                          // iProduct

             0x06,                                                                          // iSerialNumber

             0x01                                                                           // bNumConfigurations

          };

    2. We used USB audio class 1.0 in FS.  Please see summarize as below

          

     Regards,

    Luke

  • Hi Diego,

    I am an engineer for this product. Thanks for your help.

    1. We used USB 2.0 to enumerate in HS

                  const DeviceDescriptorAudio DeviceDescAudio =

             {

             sizeof(DeviceDescriptorAudio),                // bLength

             DSC_DEVICE,                                                 // bDescriptorType

             0x0200,                                                            //Specification Version(bcd)

             0x00,                                                                          // bDeviceClass

             0x00,                                                                          // bDeviceSubClass

             0x00,                                                                          // bDeviceProtocol

             EP0_PACKET_MAX_SIZE,                                     // bMaxPacketSize0

             0x0A67,                                                           // Vendor ID

             0x1238,                                                            // Product ID

             0x0100,                                                            // bcdDevice release,Version

             0x01,                                                                          // iManufacturer

             0x02,                                                                          // iProduct

             0x06,                                                                          // iSerialNumber

             0x01                                                                           // bNumConfigurations

           };

     2. We used USB audio class 1.0 in FS for USB audio. Please see the summarize as below:

      3.  Isochronous transfer

     4.  When the computer connected the product via USB cable successfully, the USB audio device"Alesis DM10MKII Pro" will display.

    Regards,

    Luke

  • Hi Diego,

     

    1. We used USB 2.0 to enumerate in HS.

     

    const DeviceDescriptorAudio DeviceDescAudio =

    {

             sizeof(DeviceDescriptorAudio),                // bLength

             DSC_DEVICE,                                                 // bDescriptorType

             0x0200,                                                            //Specification Version(bcd)

             0x00,                                                                          // bDeviceClass

             0x00,                                                                          // bDeviceSubClass

             0x00,                                                                          // bDeviceProtocol

             EP0_PACKET_MAX_SIZE,                                     // bMaxPacketSize0

             0x0A67,                                                           // Vendor ID

             0x1238,                                                            // Product ID

             0x0100,                                                            // bcdDevice release,Version

             0x01,                                                                          // iManufacturer

             0x02,                                                                          // iProduct

             0x06,                                                                          // iSerialNumber

             0x01                                                                           // bNumConfigurations

    };

     

    2、We used USB audio class 1.0 for transfer. Please refer to the summarize as below:

    3、Isochronous transfer, not bulk transfer

    4、When the computer connected the our product successfully, the "Alesis DM19MKII Pro" will display in speaker menu as below.

                      

     

  • Hello Joyce Luke,

    The point 2 confirms that the connection is not High speed, but Full speed. Therefore the TUSB211 is not active and explains the glitches on the signal (connection detection). You can have a device version 2.0 (High speed) but with Full speed connection.

    Regards,

    Diego.

  • Hi Diego,

    Thanks for your information.

    We will do a test of USB Eye Diagram next week. I will tell you the result after we finishing test.

    Regards,

    Luke