TI中文支持网
TI专业的中文技术问题搜集分享网站

TUSB8041: 上行接口能识别,下行接口无反应

Part Number:TUSB8041

您好,使用TUSB8041RGCR扩展接口,结果下行接口无法识别。

请帮忙分析一下, 多谢!!!

1.配置接口用的SMBUS,上位机能扫到地址能读出寄存器内容,没有进行配置,均为默认设置。

2.上电时序现在有问题,3.3v先于1.1V先上的

3.连接器端供电正常 5V。

4.部分信号电平正常:USB_VBUS  0.5V            GRSTZ  3.3V

5.如果上电的过程中将GRSTZ强制拉低,卡机后信息如下:

root@FHD3:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

6.如果上电时不去控制GRSTZ信号,开机后信息如下:

root@FHD3:~# lsusb
Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Kailyn Chen:

Ammon jia 说:上电时序现在有问题,3.3v先于1.1V先上的

这里没有严格的要求,但是上电后需要先复位最少3ms,然后等电压起来稳定后再将GRST拉高。

所以上电后是要控制GRST。

您能用示波器测量下供电和GRST的波形吗?看下是否符合这个至少3ms拉低的要求?因为合理的上电时序是芯片能正常工作的前提。

,

Ammon jia:

您好,

下图是我测的电源和GRST的波形

,

Kailyn Chen:

好的,由于这个问题过去比较久,我再看下您的这个问题,尽快给您答复。

,

Ammon jia:

多谢!

电源和RST就如我上边附图说的那样,I2C配置成smbus也能读取到寄存器地址,但是系统就是不能识别到芯片。

今天我们把TUSB8041拆掉也会有一下log:

root@FHD3:~# lsusbBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

这说明这个片子没有正常工作,然后我们飞线到连接器,能正常识别3.0的U盘和2.0的设备。

除了论坛还有别的联系方式吗,比如skype/QQ/微信/邮箱等

,

Kailyn Chen:

抱歉没有其他的联系方式呢,每天因为有很多客户来问问题,所以我们也是尽快给您答复。

,

Kailyn Chen:

您好,关于您的问题 ,我已经咨询了美国工程师,我这边一旦收到回复,会尽快通知给您。

给您带来不便非常抱歉。

,

Kailyn Chen:

您好,

1.将SMBUS/SS_suspend上的R363电阻去掉试试。

2. 下行端口的Vbus是哪里提供的?

3. 麻烦附上完整的电路。方便分析。

,

Ammon jia:

VDD_5V 是板子上的常供电

,

Kailyn Chen:

如果是板子上的5V供电,那很有可能是下行端口电压不够导致下行端口器件无法识。

您可以尝试低速的USB设备验证下,看看是否还是无法识别。

,

Ammon jia:

不插入设备都不识别,电压是没问题了,今天搞了个soc的开发板,用soc的开发版验证了一下

root@FHD3:~# lsusbBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

这两条信息不是hub的,而是soc的,这说明上行端口也没识别

,

Kailyn Chen:

TUSB8041无法识别的话。还得回到上电时序这里,包括GRST的时序:

注意有两点:

1: 如果3.3V先于1.1V上电的话,GRST 必须在两个电压都起来稳定之后至少3ms再拉高。

2.  如果GRST通过电容接地,那么在3.3V上电之,1.1V必须具有稳定的最小10 μs。 

看了您上面的时序图,3.3V先于1.1V上电,GRST不满足电压稳定之后至少3ms再拉高,

,

Ammon jia:

我手动短接GRST到地,然后等电源上完之后再释放,还是不行

,

Kailyn Chen:

收到,我去确认下这个问题。

,

Kailyn Chen:

SS_Suspend下拉到地的R363去掉再试试。

,

Ammon jia:

之前不识别的问题已解决做了两个方面的处理:

1.去掉R363;

2.将TUSB8041的电源改为SOC uboot起来之后再上电;

现在出来一个新的问题,有的板子是都能够识别,有的板子只能识别其中一个,有个板子识别其中两个,不识别的口查看log有如下不同:

识别   : Port 1: 0000.06a0 Unknown Speed power Rx.Detect不识别:Port 2: 0008.04a0 C_OC Unknown Speed Rx.Detect

详细log如下:

root@FHD3:~# lsusb -v

Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port HubDevice Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.00 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 3 bMaxPacketSize0 9 idVendor 0x0451 Texas Instruments, Inc. idProduct 0x8140 TUSB8041 4-Port Hub bcdDevice 1.00 iManufacturer 0 iProduct 0 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x001f bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 19 Transfer Type Interrupt Synch Type None Usage Type Feedback wMaxPacketSize 0x0002 1x 2 bytes bInterval 8 bMaxBurst 0Hub Descriptor: bLength 12 bDescriptorType 42 nNbrPorts 4 wHubCharacteristic 0x0009 Per-port power switching Per-port overcurrent protection bPwrOn2PwrGood 50 * 2 milli seconds bHubContrCurrent 0 milli Ampere bHubDecLat 0.3 micro seconds wHubDelay 3043 nano seconds DeviceRemovable 0x00 Hub Port Status: Port 1: 0000.06a0 Unknown Speed power Rx.Detect Port 2: 0008.04a0 C_OC Unknown Speed Rx.Detect Port 3: 0000.06a0 Unknown Speed power Rx.Detect Port 4: 0000.06a0 Unknown Speed power Rx.DetectBinary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 0x002a bNumDeviceCaps 3 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x00000006 BESL Link Power Management (LPM) Supported SuperSpeed USB Device Capability: bLength 10 bDescriptorType 16 bDevCapabilityType 3 bmAttributes 0x00 wSpeedsSupported 0x000e Device can operate at Full Speed (12Mbps) Device can operate at High Speed (480Mbps) Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 1 Lowest fully-functional device speed is Full Speed (12Mbps) bU1DevExitLat 10 micro seconds bU2DevExitLat 2047 micro seconds Container ID Device Capability: bLength 20 bDescriptorType 16 bDevCapabilityType 4 bReserved 0 ContainerID {8200c002-4c80-0ae7-ab18-8fc2b6c9d000}Device Status: 0x0001 Self Powered

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubDevice Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.00 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 3 bMaxPacketSize0 9 idVendor 0x1d6b Linux Foundation idProduct 0x0003 3.0 root hub bcdDevice 5.10 iManufacturer 3 Linux 5.10.0 xhci-hcd iProduct 2 xHCI Host Controller iSerial 1 xhci-hcd.0.auto bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x001f bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 bMaxBurst 0Hub Descriptor: bLength 12 bDescriptorType 42 nNbrPorts 1 wHubCharacteristic 0x0009 Per-port power switching Per-port overcurrent protection bPwrOn2PwrGood 50 * 2 milli seconds bHubContrCurrent 0 milli Ampere bHubDecLat 0.0 micro seconds wHubDelay 0 nano seconds DeviceRemovable 0x00 Hub Port Status: Port 1: 0000.0203 5Gbps power U0 enable connectBinary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 0x000f bNumDeviceCaps 1 SuperSpeed USB Device Capability: bLength 10 bDescriptorType 16 bDevCapabilityType 3 bmAttributes 0x02 Latency Tolerance Messages (LTM) Supported wSpeedsSupported 0x0008 Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 3 Lowest fully-functional device speed is SuperSpeed (5Gbps) bU1DevExitLat 0 micro seconds bU2DevExitLat 0 micro secondsDevice Status: 0x0001 Self Powered

Bus 001 Device 002: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port HubDevice Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.10 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 2 TT per port bMaxPacketSize0 64 idVendor 0x0451 Texas Instruments, Inc. idProduct 0x8142 TUSB8041 4-Port Hub bcdDevice 1.00 iManufacturer 0 iProduct 0 iSerial 1 280A08591EA6 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0029 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 1 Single TT iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 12 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 2 TT per port iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 12Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 4 wHubCharacteristic 0x0009 Per-port power switching Per-port overcurrent protection TT think time 8 FS bits bPwrOn2PwrGood 50 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0100 power Port 2: 0008.0000 C_OC Port 3: 0000.0100 power Port 4: 0000.0100 powerBinary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 0x002a bNumDeviceCaps 3 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x00000006 BESL Link Power Management (LPM) Supported SuperSpeed USB Device Capability: bLength 10 bDescriptorType 16 bDevCapabilityType 3 bmAttributes 0x00 wSpeedsSupported 0x000e Device can operate at Full Speed (12Mbps) Device can operate at High Speed (480Mbps) Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 1 Lowest fully-functional device speed is Full Speed (12Mbps) bU1DevExitLat 10 micro seconds bU2DevExitLat 10 micro seconds Container ID Device Capability: bLength 20 bDescriptorType 16 bDevCapabilityType 4 bReserved 0 ContainerID {8200c002-4c80-0ae7-ab18-8fc2b6c9d000}Device Status: 0x0001 Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubDevice Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 1 Single TT bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 5.10 iManufacturer 3 Linux 5.10.0 xhci-hcd iProduct 2 xHCI Host Controller iSerial 1 xhci-hcd.0.auto bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0019 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 1 wHubCharacteristic 0x0009 Per-port power switching Per-port overcurrent protection TT think time 8 FS bits bPwrOn2PwrGood 10 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0503 highspeed power enable connectDevice Status: 0x0001 Self Powered

,

Kailyn Chen:

您好,您的问题我们在进一步确认中,如收到答复,会尽快通知给您。

,

Ammon jia:

找到问题了,这个U口提示过流了,所以断掉了。

,

Kailyn Chen:

感谢您的反馈。

赞(0)
未经允许不得转载:TI中文支持网 » TUSB8041: 上行接口能识别,下行接口无反应
分享到: 更多 (0)