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.

[参考译文] AM4378:关于如何使用12Mbps 的 USB

Guru**** 1145030 points
Other Parts Discussed in Thread: AM4378
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1105702/am4378-about-how-to-use-usb-at-12mbps

器件型号:AM4378

您好!
我们的客户正在使用 AM4378构建定制板。
它们运行的是对该电路板进行修改的 Linux SDK Ver 07.03.00.005。
他们希望以固定的全速(12Mbps)使用该板上的 USB 接口。
他们修改了 ARM/ARM/DTS/AM437X-gp-evm.dts、如下所示

&usb1 {
              dr_mode = "host";
              status = "okay";
              maximum-speed = "full-speed";     // appended
};

&usb2 {
              dr_mode = "host";
              status = "okay";
              maximum-speed = "full-speed";     // appended
};

但是、当他们使用 lsusb 命令(他们将 USB3存储器插入的端口)查看它时、速度为480Mbps。

root@am437x-evm:~# lsusb -t
/:  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  <-attach USB3 storage

他们可以做些什么来将 USB 速度限制为12Mbps?

此致、

库吉·西加塔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Nishigata-San、

    "mkum-speed" devicetree"属性使 AM4378 USB 控制器在器件模式下工作、它不会对主机模式产生影响。

    AM4378上的 USB 主机控制器与 xHCI 规范兼容、没有软件方法将其限制为全速。 我唯一能想到的是添加 USB 全速集线器。