Hello,
I have two question about the USB 3.0 port on TWR_LS1021A.
1.Is there a USB2134B on TWR-LS1021A except USB5534B?
Under u-boot:
=> usb start
starting USB...
USB0: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
=>
=> usb tree
USB device tree:
1 Hub (5 Gb/s, 0mA)
| u-boot XHCI Host Controller
|
+-2 Hub (480 Mb/s, 0mA)
| SMSC USB2134B
|
+-3 Hub (5 Gb/s, 0mA)
SMSC USB5534B
=> usb info
1: Hub, USB Revision 3.0
- u-boot XHCI Host Controller
- Class: Hub
- PacketSize: 9 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 1.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms
2: Hub, USB Revision 2.10
- SMSC USB2134B
- Class: Hub
- PacketSize: 64 Configurations: 1
- Vendor: 0x0424 Product 0x2134 Version 80.0
Configuration: 1
- Interfaces: 1 Self Powered Remote Wakeup 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms
- Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms
3: Hub, USB Revision 3.0
- SMSC USB5534B
- Class: Hub
- PacketSize: 9 Configurations: 1
- Vendor: 0x0424 Product 0x5534 Version 80.0
Configuration: 1
- Interfaces: 1 Self Powered Remote Wakeup 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 2 Interval 8ms
Under linux kernel:
oot@ls1021atwr:~# lsusb
Bus 001 Device 002: ID 0424:2134
Bus 002 Device 002: ID 0424:5534
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
Here looks like there also a USB2134B on the TWR-LS1021A
2. I write TWR-LS1021A USB driver for other OS. USB driver can detect a high-speed and superspeed device connect. but driver always failed on send "command: Address Device". Do I need do some initialization for USB5534B before USB driver start?
Thanks,
Jain
1. We do not have information about using a USB2134B driver on the TWR_LS1021A.
See attachment.
http://ww1.microchip.com/downloads/en/DeviceDoc/5534b.pdf
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks Pavel for your help. I will take a look your attached USB source.
1. Here is my u-boot version:
====================
U-Boot 2015.01+ls1+g6ba8eed (Sep 01 2015 - 13:21:32)
CPU: Freescale LayerScape LS1021E, Version: 1.0, (0x87081110)
Clock Configuration:
CPU0(ARMV7):1000 MHz,
Bus:300 MHz, DDR:800 MHz (1600 MT/s data rate),
Reset Configuration Word (RCW):
00000000: 0608000a 00000000 00000000 00000000
00000010: 20000000 00407900 60040a00 21046000
00000020: 00000000 00000000 00000000 00038000
00000030: 00080000 881b7340 00000000 00000000
Board: LS1021ATWR
CPLD: V2.2
PCBA: V3.0
VBank: 0
I2C: ready
DRAM: 1 GiB
Using SERDES1 Protocol: 32 (0x20)
Flash: 128 MiB
MMC: FSL_SDHC: 0
PCIe1: Root Complex no link, regs @ 0x3400000
PCIe2: Root Complex no link, regs @ 0x3500000
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
SATA link 0 timeout.
AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc
scanning bus for devices...
Found 0 device(s).
SCSI: Net: eTSEC1 is in sgmii mode.
eTSEC2 is in sgmii mode.
eTSEC1, eTSEC2, eTSEC3 [PRIME]
=> usb start
starting USB...
USB0: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
=> usb tree
USB device tree:
1 Hub (5 Gb/s, 0mA)
| u-boot XHCI Host Controller
|
+-2 Hub (480 Mb/s, 0mA)
| SMSC USB2134B
|
+-3 Hub (5 Gb/s, 0mA)
SMSC USB5534B
========================
Is there anything wrong?
2. Based on TWR-LS1021A schematics p9; RST_USBHUB connect to USB5534B pin: RESET_N. RST_USBHUB connect CPLD BANK0 D3:NC/PT2C.
My question is: before start USB driver, should reset USB5534B first? if yes, how to configure this CPLD pin?
Thanks,
Jain
The USB5534B internal reset provides all reset timing parameters after power up. See the Section 5.3.1 of the USB5534B Datasheet. It looks like that external reset is not needed after power up of the USB5534B.
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------