Hello and Welcome! If you have a technical question please check out our Forums. If you have an order or shipping question please refer to our Customer Support page. Please see all COVID-19 updates here and thank you for your continued support.
Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
December 15, 2015
about 5 years ago
Yes, host versus device mode switching is determined by the cable plugged into the native port so it does not matter what the sketch is doing. Plugging in an OTG to host cable switches the native port into host mode. Plugging a cable to a computer host port switches the native port to device mode for bootloading, console, etc.
Is USB host mode supported on either SAMD21 boards? I am using a Arduino Zero with a USB OTG to host cable + USB keyboard. The example USB keyboard sketch works great.
Can the same be done using either or both SAMD21 boards? Is the micro USB port equivalent to the Zero native USB port? How should be board be powered so it provides 5V USB output to the keyboard?
The schematic shows the micro USB ID pin and USB_HOST_EN are connected which makes me think host mode should work but I do not understand how the hardware works.
No public wish lists :(