Configure one of 7100 Squard's USB ports to device mode
Hi UP community
I just purchased a 7100 Squard board. For my application, I want to configure one of the board's USB ports to device mode and keep the other two in host mode. Is it achievable? If so, what are the steps to make it happen?
Best Answer
-
Hi @bchen
The UP Squared 7100 does not have USB Type-C, cannot support this function.
Maybe you can refer to other boards. (e.g. UP Squared Pro)
Best Regards,
Harry Chiu
Answers
-
Hi @HarryChiu
Thanks for your suggestion. I can order a UP Squared Pro. With the UP Squared Pro, can I switch the USB-C port between device mode and host mode with software? If it is doable, what steps are needed to make it happen? -
Hi @bchen
Sorry!! It's UP Squared Pro 7000, I wrote it wrong before.
Please note that this feature is only supported on Linux.
Please refer to the attachment.Best Regards,
Harry Chiu -
I already ordered a UP Squared Pro. Can UP Squared Pro's USB OTG port switch between device mode and host mode as well?
-
Hi @bchen
UP Squared Pro has device mode on the USB OTG port.
Not sure if this is what you need, please refer to the link.
https://github.com/up-board/up-community/wiki/Serial-Console#usb30-otg-port-in-device-modeBest Regards,
Harry Chiu -
Hi @bchen
If this is not what you need, please go through the return and exchange procedures.
https://up-shop.org/default/cancellation-sales-return-doa-rmaAnd I will ask sales to assist you.
Best Regards,
Harry Chiu -
Hi @HarryChiu
Thanks for your response.
I need a USB port that can switch between device mode and host mode with software. Can UP Squared Pro's USB OTG port switch between these two modes?
From your previous response, it seems that UP Squared Pro 7000's USB-C port can switch between device mode and host mode with the steps documented in Enabling USB2&3 Device Mode for Linux UPN-ADLN.docx. The document mentioned a file called usb-dev.tar.gz. Do you know where I can download it? -
-
@HarryChiu
For some reason, I can't find usb-dev.tar.gz in the document. Can you just attach it here? -