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.

TUSB8044A: Interfacing issues using SMBUS

Part Number: TUSB8044A

Hi,

TUSB8044A is attached to a processor having USB 2.0 host and is running linux. The HUB is connected using SMBUS and SMBUSz,SS_SUSPEND is tied to the ground. 

The TUSB8044A is powered as soon as the power to the board is connected and the processor takes some time to boot Linux.

I am using SMBUS to configure the register using

  • Set 0x8F in the 7h register
  • Set 0xF in the 8h register
  • Set 0x10 in the 25h register
  • Set 0xE in the 26h register
  • Set 0x1 in the F8h register

when I run the lsusb command after the above configuration I do not get any hub (No Upstream, No Downstream)

Moreover, If I run the lsusb command without configuring should I get some device in the Linux console?

Thanks in advance

  • Henry:

          Hub will start USB enumeration only after SMBUS configuration is completed.

           Without SMBUS configuration, does hub work as expected? You can try it by pull SMBUSz pin to high.

    Best

    Brian

  • Thanks for the quick response, I have tried using SMBUS configuration as well using the above registers, but nothing appears. 

  • Hi,

    If you pull SMBUSz pin to high, does the Linux recognize the hub?

    If not, can you please share your schematic? 

    Thanks

    David

  • As per the datasheet after pulling up SMBUSz will load from the EEPROM and we do not have connected EEPROM in the board.

  • Henry:

           Hub should work with default configuration. It means you don't need external EEPROM or SMBUSz to configuration the hub.

           If SMBUSz  is high  ( non SMBUS mode) and no external EEPROM, if hub still not working then there is something wrong on your schematic.

           If this is true, pls send schematic to review first as David suggested.

    Best

    Brian

  • 8270.USB Hub.pdf

    Thanks for the quick response. Please find the attached schematics

    kindly let me know if anything else is needed.

     

  • Henry

    I assume pin 34, 52, and 63 are connected to VDD33? 

    If you leave SMBUSz high and no external EEPROM, is the Linux host able to recognize the TUSB8044A? 

    Instead having the USB_VBUS driven by USB_P5V, can you have it driven by the V BUS?

    Thanks

    David

  • David,

    Yes pins 34,52 and 63 are connected to VDD33.

    I tried by leaving SMBUSz high and no external EEPROM, nothing detected in the Linux but I left the setup overnight in the same settings. Following prints were there on the Linux console. I am not getting any prints now and still there is nothing in lsusb command

    I will try driving USB_VBUS by V BUS and will post the results here

    [56006.241381] usb 1-1: USB disconnect, device number 52
    [56006.245163] usb 1-1.5: USB disconnect, device number 53
    [56006.775042] usb 1-1: new high-speed USB device number 54 using ci_hdrc
    [56006.976011] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56006.981410] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56006.987273] usb 1-1: SerialNumber: F60100890024
    [56006.991185] hub 1-1:1.0: USB hub found
    [56007.315038] usb 1-1.5: new high-speed USB device number 55 using ci_hdrc
    [56007.465765] usb 1-1.5: New USB device found, idVendor=0451, idProduct=82ff
    [56007.471335] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [56013.259360] usb 1-1: USB disconnect, device number 54
    [56013.263111] usb 1-1.5: USB disconnect, device number 55
    [56013.845044] usb 1-1: new high-speed USB device number 56 using ci_hdrc
    [56014.565987] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56014.571385] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56014.577247] usb 1-1: SerialNumber: F60100890024
    [56014.581367] hub 1-1:1.0: USB hub found
    [56014.905043] usb 1-1.5: new high-speed USB device number 57 using ci_hdrc
    [56015.055739] usb 1-1.5: New USB device found, idVendor=0451, idProduct=82ff
    [56015.061310] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [56017.224839] usb 1-1: USB disconnect, device number 56
    [56017.228616] usb 1-1.5: USB disconnect, device number 57
    [56017.725043] usb 1-1: new high-speed USB device number 58 using ci_hdrc
    [56017.925974] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56017.931369] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56017.937233] usb 1-1: SerialNumber: F60100890024
    [56017.941364] hub 1-1:1.0: USB hub found
    [56018.265039] usb 1-1.5: new high-speed USB device number 59 using ci_hdrc
    [56018.415729] usb 1-1.5: New USB device found, idVendor=0451, idProduct=82ff
    [56018.421295] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [56024.378326] usb 1-1: USB disconnect, device number 58
    [56024.382078] usb 1-1.5: USB disconnect, device number 59
    [56376.795035] usb 1-1: new high-speed USB device number 60 using ci_hdrc
    [56376.996004] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56377.001400] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56377.007260] usb 1-1: SerialNumber: F60100890024
    [56377.011392] hub 1-1:1.0: USB hub found
    [56377.335033] usb 1-1.5: new high-speed USB device number 61 using ci_hdrc
    [56377.485754] usb 1-1.5: New USB device found, idVendor=0451, idProduct=82ff
    [56377.491325] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [56386.155215] usb 1-1: USB disconnect, device number 60
    [56386.158966] usb 1-1.5: USB disconnect, device number 61
    [56911.395027] usb 1-1: new high-speed USB device number 62 using ci_hdrc
    [56911.595945] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56911.601341] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56911.607202] usb 1-1: SerialNumber: F60100890024
    [56911.611724] hub 1-1:1.0: USB hub found
    [56911.935023] usb 1-1.5: new high-speed USB device number 63 using ci_hdrc
    [56912.085697] usb 1-1.5: New USB device found, idVendor=0451, idProduct=82ff
    [56912.091266] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [56912.138327] usb 1-1: USB disconnect, device number 62
    [56912.142080] usb 1-1.5: USB disconnect, device number 63
    [56913.595025] usb 1-1: new high-speed USB device number 64 using ci_hdrc
    [56913.796061] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56913.801452] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56913.807314] usb 1-1: SerialNumber: F60100890024
    [56913.811447] hub 1-1:1.0: USB hub found
    [56914.135026] usb 1-1.5: new high-speed USB device number 65 using ci_hdrc
    [56914.285815] usb 1-1.5: New USB device found, idVendor=0451, idProduct=82ff
    [56914.291386] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [56917.971537] usb 1-1: USB disconnect, device number 64
    [56917.975318] usb 1-1.5: USB disconnect, device number 65
    [56918.855025] usb 1-1: new high-speed USB device number 66 using ci_hdrc
    [56919.056043] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56919.061437] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56919.067300] usb 1-1: SerialNumber: F60100890024
    [56919.071427] hub 1-1:1.0: USB hub found
    [56919.395028] usb 1-1.5: new high-speed USB device number 67 using ci_hdrc
    [56919.452748] usb 1-1: USB disconnect, device number 66
    [56919.995029] usb 1-1.5: device not accepting address 67, error -71
    [56921.185025] usb 1-1: new high-speed USB device number 71 using ci_hdrc
    [56922.175026] usb 1-1: device descriptor read/64, error -71
    [56922.496030] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56922.501424] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56922.507284] usb 1-1: SerialNumber: F60100890024
    [56922.511424] hub 1-1:1.0: USB hub found
    [56922.835023] usb 1-1.5: new high-speed USB device number 72 using ci_hdrc
    [56922.985784] usb 1-1.5: New USB device found, idVendor=0451, idProduct=82ff
    [56922.991350] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [56925.265038] usb 1-1: USB disconnect, device number 71
    [56925.268784] usb 1-1.5: USB disconnect, device number 72
    [56926.005025] usb 1-1: new high-speed USB device number 73 using ci_hdrc
    [56926.206019] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56926.211413] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56926.217273] usb 1-1: SerialNumber: F60100890024
    [56926.221406] hub 1-1:1.0: USB hub found
    [56926.545021] usb 1-1.5: new high-speed USB device number 74 using ci_hdrc
    [56926.695772] usb 1-1.5: New USB device found, idVendor=0451, idProduct=82ff
    [56926.701338] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [56928.048755] usb 1-1: USB disconnect, device number 73
    [56928.052503] usb 1-1.5: USB disconnect, device number 74
    [56928.895025] usb 1-1: new high-speed USB device number 75 using ci_hdrc
    [56929.096009] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56929.101401] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56929.107263] usb 1-1: SerialNumber: F60100890024
    [56929.111404] hub 1-1:1.0: USB hub found
    [56929.435023] usb 1-1.5: new high-speed USB device number 76 using ci_hdrc
    [56929.585763] usb 1-1.5: New USB device found, idVendor=0451, idProduct=82ff
    [56929.591336] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [56930.747873] usb 1-1: USB disconnect, device number 75
    [56930.751627] usb 1-1.5: USB disconnect, device number 76
    [56931.305024] usb 1-1: new high-speed USB device number 77 using ci_hdrc
    [56931.506000] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56931.511395] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56931.517257] usb 1-1: SerialNumber: F60100890024
    [56931.521390] hub 1-1:1.0: USB hub found
    [56931.845023] usb 1-1.5: new high-speed USB device number 78 using ci_hdrc
    [56931.995754] usb 1-1.5: New USB device found, idVendor=0451, idProduct=82ff
    [56932.001320] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [56933.308236] usb 1-1: USB disconnect, device number 77
    [56933.311984] usb 1-1.5: USB disconnect, device number 78
    [56933.855027] usb 1-1: new high-speed USB device number 79 using ci_hdrc
    [56934.055993] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56934.061387] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56934.067250] usb 1-1: SerialNumber: F60100890024
    [56934.071384] hub 1-1:1.0: USB hub found
    [56934.383962] usb 1-1: USB disconnect, device number 79
    [56934.397172] usb 1-1.5: new high-speed USB device number 80 using ci_hdrc
    [56935.095022] usb 1-1: new high-speed USB device number 84 using ci_hdrc
    [56935.295989] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56935.301386] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56935.307251] usb 1-1: SerialNumber: F60100890024
    [56935.311374] hub 1-1:1.0: USB hub found
    [56935.635032] usb 1-1.5: new high-speed USB device number 85 using ci_hdrc
    [56935.785742] usb 1-1.5: New USB device found, idVendor=0451, idProduct=82ff
    [56935.791312] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [56935.810226] usb 1-1: USB disconnect, device number 84
    [56935.813976] usb 1-1.5: USB disconnect, device number 85
    [56936.415024] usb 1-1: new high-speed USB device number 86 using ci_hdrc
    [56936.615984] usb 1-1: New USB device found, idVendor=0451, idProduct=8442
    [56936.621380] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [56936.627242] usb 1-1: SerialNumber: F60100890024
    [56936.631373] hub 1-1:1.0: USB hub found
    [56936.955022] usb 1-1.5: new high-speed USB device number 87 using ci_hdrc
    [56937.105737] usb 1-1.5: New USB device found, idVendor=0451, idProduct=82ff
    [56937.111306] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [56944.705824] usb 1-1: USB disconnect, device number 86
    [56944.709570] usb 1-1.5: USB disconnect, device number 87
    

  • Henry:

         From the log, Hub  was detected by host  for a while and then dropped.

         Can you help to take some data with SMBUSz  high and removing RP1A to R1D ( disable Battery charging)? 

     1: When hub is not detected, probe upstream DP signal to see if DP is high.

     2:  take waveform of 3.3v /1.1v supply and GRSTz signal during power on , If C107 (GRSTz cap) is 0.01uf, try to change to 1uf.

     3:  check XI signal if crystal is working..

      4: probe upstream DP/DM and Vbus_det when power on.

    Regards

    Brian

        

  • Henry: 

       any update?

    Best

    Brian

  • Thanks for the follow up. I will be sharing the results in couple of days

  • ok, waiting for your update.

    Best

    Brian

  • Henry:

      I will close it first and you can reopen once you have update.

    Best

    Brian