TS-4900 USB Host

From embeddedTS Manuals
Revision as of 16:24, 19 August 2014 by Mark (talk | contribs)

The TS-4900 provides a standard USB 2.0 host supporting 480Mb/s. Typically this is interfaced with by using standard Linux drivers, but low level USB communication is possible using libusb.

Many of our off the shelf baseboards provide a GPIO to toggle power to USB devices. This can be used to save power, or to reset USB devices that get stuck in a bad state.

echo 54 > /sys/class/gpio/export
# Power disabled
echo low > /sys/class/gpio/gpio54/direction
sleep 2 # let any devices reset
# Enable power
echo high > /sys/class/gpio/gpio54/direction


Note: The USB OTG which can act as a host does not always use the same controllable 5V supply. Refer to the schematic's EN_USB_5V/USB_5V for more information on this control.