TS-7970 USB Host: Difference between revisions
From embeddedTS Manuals
(Created page with "The i.MX6 provides 1 USB Host with supporting USB 2.0 (480Mbit/s). The TS-7970 includes a USB Hub expanding this to 4 USB host ports. Typically USB is interfaced with by u...") |
m (FTP links auto-updated (http://www.libusb.org/ → https://libusb.info/)) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
The i.MX6 provides 1 USB Host with supporting USB 2.0 (480Mbit/s). The TS-7970 includes a USB Hub expanding this to 4 USB host ports. | The i.MX6 provides 1 USB Host with supporting USB 2.0 (480Mbit/s). The TS-7970 includes a USB Hub expanding this to 4 USB host ports. | ||
Typically USB is interfaced with by using standard Linux drivers, but low level USB communication is possible using [ | Typically USB is interfaced with by using standard Linux drivers, but low level USB communication is possible using [https://libusb.info/ libusb]. | ||
The TS-7970 USB 5V rail can be toggled on/off through a GPIO. This can be used to save power, or to reset USB devices that get stuck in a bad state. | The TS-7970 USB 5V rail can be toggled on/off through a GPIO. This can be used to save power, or to reset USB devices that get stuck in a bad state. | ||
Line 13: | Line 13: | ||
{{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.}} | {{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.}} | ||
Latest revision as of 20:29, 14 January 2021
The i.MX6 provides 1 USB Host with supporting USB 2.0 (480Mbit/s). The TS-7970 includes a USB Hub expanding this to 4 USB host ports.
Typically USB is interfaced with by using standard Linux drivers, but low level USB communication is possible using libusb.
The TS-7970 USB 5V rail can be toggled on/off through a GPIO. This can be used to save power, or to reset USB devices that get stuck in a bad state.
# Power disabled
echo 1 > /sys/class/leds/en-usb-5v/brightness
sleep 2 # let any devices reset
# Enable power
echo 0 > /sys/class/leds/en-usb-5v/brightness
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. |