SK-AM62A-LP: Configuration steps for using two ports as a device (function)

Part Number: SK-AM62A-LP

Tool/software:

Hi experts,

The original thread mentioned that two ports can be used as a Device (Function), but is there any sample code?
The purpose of my question is to find sample code that actually configures two USB ports as a Device (Function).

One of the ports on the SK-AM62A-LP is Type-A (HOST), so SDK/sample code for other hardware would be fine.

For the SK-AM62A-LP, could you please tell me how to configure two Device (Function) ports?
The Linux SDK manual below seems to cover kernel configuration settings, but it doesn't seem to provide any specific instructions.
3.2.2.20. USB — Processor SDK AM62Ax Documentation

Best regards,
O.H

  • Hi O.H,

    For the SK-AM62A-LP, could you please tell me how to configure two Device (Function) ports?

    The SK-AM62A-LP cannot be used to configure both USB ports to device mode, since the hardware design for USB1 port is for host-only mode.

    As I mentioned in the previous E2E thread, you can use USB gadget configfs to configure the USB device mode function. Please refer to kernel doc for reference.

    <kernel src>/Documentation/usb/gadget_configfs.rst