ORIN NX 的 USB-TYPE C 无 FSB301时如何配置

你好,

我们自研的载板,用于 jetson ORIN NX, 其中的 USB-TPYE C 接口设计为 USB-DEVICE only,硬件没有设计如 FSB301 这样的 usb-type C 控制器。

我使用如下命令: sudo echo device > /sys/class/usb_role/usb2-0-role-switch/role

然后再使用 cat /sys/class/usb_role/usb2-0-role-switch/role 返回 device。

但 USB 插到电脑上后,无反应。

相同的 SOM+SSD , 放在原厂的载板上,是 OK 的(原厂载板不用 echo 也可自动识别 HOST/device)

请问一下,应该做什么修改才能满足需求呢?( USB typeC 仅作为 device 使用)

*** Please note that this reply is generated by LLM automatically ***

The question appears to be about the Jetson Orin NX module and its USB Type-C port configuration. Specifically, it seems to be asking about how to switch the USB Type-C port from a device-only configuration to a host-only configuration.

According to the provided documentation, the Jetson Orin NX module supports multiple USB interfaces, including USB 2.0, USB 3.2, and PCIe. The USB Type-C port on the module can be configured as either a device or a host.

To switch the USB Type-C port from a device-only configuration to a host-only configuration, you can use the following commands:

sudo echo "device" > /sys/class/usb_role/usb2/roleswitch/role
cat /sys/class/usb_role/usb2/roleswitch/role

This will set the USB Type-C port to device mode. To switch to host mode, you can use the following command:

echo "host" > /sys/class/usb_role/usb2/roleswitch/role

Note that the roleswitch directory may vary depending on the specific USB controller and configuration.

In the context of the Jetson Orin NX module, the USB Type-C port is connected to the USB2 controller, which is why the usb2 directory is used in the commands above.

It’s also worth noting that the Jetson Orin NX module supports PCIe, which can be used to connect external devices such as SSDs. The module has multiple PCIe lanes, including x1, x2, and x4 lanes, which can be used to connect different types of devices.

In comparison to the Jetson Orin Nano module, the Jetson Orin NX module has more PCIe lanes and supports faster PCIe speeds (up to Gen4). However, the Jetson Orin Nano module is still a powerful and capable module that can be used for a variety of applications.

Overall, the Jetson Orin NX module’s USB Type-C port can be configured as either a device or a host, and the module’s PCIe lanes can be used to connect external devices. The specific configuration and usage will depend on the application and requirements.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

Refer to

1 Like

你好,

我们后来把载板上的 wifi模块 和 5G 模块都拆掉后,也不用调整其它配置。重复之前的操作,device 功能就是 OK 的,目前电脑这边可以看到 device 的 descriptior。 看来是 PCB板子布线需要再调整一下。

You should also do configuring in software… Otherwise your result would not be stable enough.

你好,

多谢提示。

是不是应该删除 FSB301相关的 I2C 配置呢? 如果方便的话,能否指出具体的配置项?