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.

DRA821U: Can dynamically change USB3 host/device mode by software?

Part Number: DRA821U
Other Parts Discussed in Thread: DRA821

As there is only one USB3 on DRA821, customer's application need to support host/device role depends on what to connect on the USB port. can it be dynamically change by software?

The use case is: when connect host PC, the DRA821 is device. when connect device to the USB, DRA821 act as host. 

Does current PSDK software supported it yet?

  • Hi,

    Thanks for the query. Yes, PSDK Linux software does support host/device role switch depending up on the type of USB3 cable connected to the DRA821 EVM board.

    When USB type-C cable is connected between the EVM to host PC, the DRA821 is switch to DEVICE mode. At this point of time, we can load the appropriate gadget needed for device mode operation.  

    But, if we connect a USB-C adapter (example link), then it will act as host, so a USB flash drive connect to the USB-C adapter will be enumerate.

    Thanks.