Dose LS1046 support USB gadget mode on USB 3.0 (5Gpbs)?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Dose LS1046 support USB gadget mode on USB 3.0 (5Gpbs)?

1,545件の閲覧回数
chhsu0229
Contributor II

I am working on USB 3.0 gadget on LS1046ARDB. I see LS1046ARD document "QorIQ LS1046A Product Brief"

The USB 3.0 module operates in following modes:
• Host Mode: SS/HS/FS/LS
• Device Mode: SS/HS/FS
• OTG: HS/FS/LS

Does the LS1046ARDB support Super Speed on Device Mode? Does it support UB3.0 (5Gbps) on Device mode ?

Thanks 

0 件の賞賛
返信
2 返答(返信)

1,392件の閲覧回数
ufedor
NXP Employee
NXP Employee

Both answers - yes.

The LS1046A USB3.0 controller Device mode is supported by Linux kernel Gadget driver - please refer to the LSDK Documentation:

Submit Form 

section "Device mode (Gadget driver)".

0 件の賞賛
返信

1,392件の閲覧回数
chhsu0229
Contributor II

Hello ufedor,

I have followed the steps on section "Device mode". The USB 1 port on LS1046ARDB is set as device mode (peripheral mode) and the device tree show as

usb0: usb3@2f00000 {
compatible = "snps,dwc3";
reg = <0x0 0x2f00000 0x0 0x10000>;
interrupts = <0 60 0x4>;
dr_mode = "peripheral";
snps,quirk-frame-length-adjustment = <0x20>;
snps,dis_rxdet_inp3_quirk;
maximum-speed = “super-speed”;
};

I connect the USB 1 to another USB port on the LS1046ARDB (USB 2)

ex: USB 1( Device mode) -- > USB3.0 Cable --> USB 2(Host mode) on LS1046ARDB

I get usb info using lsusb -t commend, the message as

root@localhost:~# lsusb -t
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=dummy_hcd/1p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M ---------> Bus 001 Device 002: ID 0525:a4a5 Netchip Technology, Inc. Pocketbook Pro 903

The mass storage gadget function is working but the speed is only 480M (USB2.0) instead of USB3.0 5000M.

Do you have any example I could prove the USB speed as 5Gps on USB device mode ?

Thanks

0 件の賞賛
返信