Difference between revisions of "USB"
From Gumstix User Wiki
Line 29: | Line 29: | ||
+ | == Example == | ||
+ | [[image:24-pin-usb-example.png]] | ||
. | . | ||
[[Category:Literature]] | [[Category:Literature]] |
Revision as of 15:46, 24 March 2008
USBH_PWR1 | Pull-up to 3.3 volts to enable USB port | |
USBH_PEN1 | ||
USBH_P1 | USB port | USB D+ |
USBH_N1 | USB D- | |
V_BATT | USB VBUS | |
GND | USB DGND |
The 24-pin flex ribbon connector has USB port 1 on it. The pinouts you need are:
- V_BATT (pin 24) - USB power
- USBH_N1 (pin 18) - USB D-
- USBH_P1 (pin 17) - USB D+
- GND (pin 8) - USB Ground
In addition, you need to pull USBH_PWR1 (pin 20) up to 3.3 volts to enable the port. You need to provide a stable 3.3 volt supply, which is fairly simple to do by adding a small SOT23 package voltage regulator (like the LM3480), with the power input coming from V_BATT (pin 24) and the output going to USBH_PWR1 (pin 20).
Example
.