USB: Difference between revisions

From Pyra Wiki
Jump to navigation Jump to search
m (Removing extra new lines)
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
[[File:Pyra prototype back.jpeg|500px]]
[[File:Pyra prototype back.jpeg|500px]]


<onlyinclude>The Pyra has four USB ports, as detailed below.  
The Pyra has four USB ports, as detailed below.


For our purposes:
For our purposes:
Line 13: Line 13:
===Full-size USB2 Port===
===Full-size USB2 Port===
This is a straightforward USB port as found on many desktop PCs. I can be used for keyboards, mice, USB memory sticks, network adaptors and many other things (subject to driver support)
This is a straightforward USB port as found on many desktop PCs. I can be used for keyboards, mice, USB memory sticks, network adaptors and many other things (subject to driver support)
 
<noinclude>
Hardware:
Hardware:
* [https://www.digikey.com/en/products/detail/assmann-wsw-components/AU-Y1006-2-R/2077795 Assmann AU-Y1006-2-R] - USB TYPE-A USB 2.0 Receptacle Connector 4 Position Surface Mount, Right Angle
* [https://www.digikey.com/en/products/detail/assmann-wsw-components/AU-Y1006-2-R/2077795 Assmann AU-Y1006-2-R] - USB TYPE-A USB 2.0 Receptacle Connector 4 Position Surface Mount, Right Angle
* [https://eu.mouser.com/ProductDetail/Nexperia/IP4220CZ6F?qs=%2Fha2pyFadujaGyY241MXP%252BawTknG%2FuWNH822LNRHRq8fOrR1fAI3bw%3D%3D IP4220CZ6F] - Dual USB 2.0 integrated ESD protection
* [https://eu.mouser.com/ProductDetail/Nexperia/IP4220CZ6F?qs=%2Fha2pyFadujaGyY241MXP%252BawTknG%2FuWNH822LNRHRq8fOrR1fAI3bw%3D%3D IP4220CZ6F] - Dual USB 2.0 integrated ESD protection
 
</noinclude>
===Full-size USB2 Port with eSATA===
===Full-size USB2 Port with eSATA===
This can be used as a simple USB2 port as above.
This can be used as a simple USB2 port as above.
Although this uses a blue Connector designed for USB3 Ports, it is not capable of USB3 (with the current [[CPU-Board]]). The additional pins are used for (e-)SATA Lanes for to an [[ESATA_Adapter|Adapter]].
Although this uses a blue Connector designed for USB3 Ports, it is not capable of USB3 (with the current [[CPU-Board]]). The additional pins are used for (e-)SATA Lanes for to an [[ESATA_Adapter|Adapter]].
 
<noinclude>
Hardware:
Hardware:
* [https://eu.mouser.com/ProductDetail/Molex/48393-0003?qs=KpdAywxU010pLgWj887I%252Bw%3D%3D Molex 48393-0003] - USB 3.0 Female Type A Connector
* [https://eu.mouser.com/ProductDetail/Molex/48393-0003?qs=KpdAywxU010pLgWj887I%252Bw%3D%3D Molex 48393-0003] - USB 3.0 Female Type A Connector
Line 27: Line 27:
** USB 3.0 data pins connect to "SATA-RX" and "SATA-TX" pins of the CPU module
** USB 3.0 data pins connect to "SATA-RX" and "SATA-TX" pins of the CPU module
* [https://www.mouser.co.uk/ProductDetail/Texas-Instruments/TPD4EUSB30DQAR?qs=Ze4%2FuFuz19JpY4uqYOLMbQ%3D%3D TPD4EUSB30] - 4-Channel Transient Voltage and ESD Protection for Super-SpeedUSB 3.0 Interface used on eSATA lines
* [https://www.mouser.co.uk/ProductDetail/Texas-Instruments/TPD4EUSB30DQAR?qs=Ze4%2FuFuz19JpY4uqYOLMbQ%3D%3D TPD4EUSB30] - 4-Channel Transient Voltage and ESD Protection for Super-SpeedUSB 3.0 Interface used on eSATA lines
 
</noinclude>
See [[Storage]] for more details.
See [[Storage]] for more details.


Line 33: Line 33:
This can be used much like the full-size USB2 ports, but at higher speeds and with the obvious requirement for a passive adaptor when using most peripherals.
This can be used much like the full-size USB2 ports, but at higher speeds and with the obvious requirement for a passive adaptor when using most peripherals.
It can also be used to charge the Pyra (either from another computer, or a mains adaptor) and to operate as a USB slave. The Pandora has software allowing it to operate as a USB mouse, joystick, keyboard or SD-card reader in slave mode. It is expected that similar software will be available for the Pyra.
It can also be used to charge the Pyra (either from another computer, or a mains adaptor) and to operate as a USB slave. The Pandora has software allowing it to operate as a USB mouse, joystick, keyboard or SD-card reader in slave mode. It is expected that similar software will be available for the Pyra.
 
<noinclude>
Hardware:
Hardware:
* [http://www.bossconntech.com/connector/usb-3-0-connector/usb-3-0-micro-ab-connector/usb-3-0-micro-ab-female-connector-dip-for-outer-shell.html BossConn USB3-MICABF-CO02] - USB 3.0 Micro AB Female Connector
* [http://www.bossconntech.com/connector/usb-3-0-connector/usb-3-0-micro-ab-connector/usb-3-0-micro-ab-female-connector-dip-for-outer-shell.html BossConn USB3-MICABF-CO02] - USB 3.0 Micro AB Female Connector
Line 41: Line 41:
* [https://www.mouser.co.uk/ProductDetail/TDK/ACM2012-900-2P-T001?qs=%2Fha2pyFadug3t8tNY0QxAI5VFTC0YpAxfiy9XGGS8ZWghpnNNX9yBOzLmauQpYX3 ACM2012-900-2P-T001] - Common Mode Choke / Filter 50V 200mA 680ohms AEC-Q200
* [https://www.mouser.co.uk/ProductDetail/TDK/ACM2012-900-2P-T001?qs=%2Fha2pyFadug3t8tNY0QxAI5VFTC0YpAxfiy9XGGS8ZWghpnNNX9yBOzLmauQpYX3 ACM2012-900-2P-T001] - Common Mode Choke / Filter 50V 200mA 680ohms AEC-Q200
* [https://www.mouser.co.uk/ProductDetail/ON-Semiconductor-Fairchild/FPF3040UCX?qs=%2Fha2pyFadugFS4y9FPVZuPGu3r1FS%252B6Gghb2pjWrbNdQOmVgbq%2FncA%3D%3D FPF3040UCX] - 18V-RatedDual Input Single OutputPower-Source-Selector Switch
* [https://www.mouser.co.uk/ProductDetail/ON-Semiconductor-Fairchild/FPF3040UCX?qs=%2Fha2pyFadugFS4y9FPVZuPGu3r1FS%252B6Gghb2pjWrbNdQOmVgbq%2FncA%3D%3D FPF3040UCX] - 18V-RatedDual Input Single OutputPower-Source-Selector Switch
 
</noinclude>
===Serial-via-micro-USB2 Port===
===Serial-via-micro-USB2 Port===
This is not a general-purpose USB port (as a result of limitations of the SOC) but can be used in two ways:
This is not a general-purpose USB port (as a result of limitations of the SOC) but can be used in two ways:
*Charging the Pyra while the primary microUSB3 port is in host mode.
*Charging the Pyra while the primary microUSB3 port is in host mode.
*Monitoring the Pyra using another computer (Serial output from the Pyra's processor, via a built-in Serial-USB translator, with the Pyra as USB slave)
*Monitoring the Pyra using another computer (Serial output from the Pyra's processor, via a built-in Serial-USB translator, with the Pyra as USB slave)
 
<noinclude>
Hardware:
Hardware:
* [https://www.mouser.co.uk/ProductDetail/Molex/105017-0001?qs=hlXxxvYE36k7QcsR97GUKA%3D%3D Molex 105017-001] - Micro-USB B Receptacle, Bottom Mount, Surface Mount, with Solder Tabs
* [https://www.mouser.co.uk/ProductDetail/Molex/105017-0001?qs=hlXxxvYE36k7QcsR97GUKA%3D%3D Molex 105017-001] - Micro-USB B Receptacle, Bottom Mount, Surface Mount, with Solder Tabs
* [http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT232R.pdf FT232RQ] - USB to serial UART interface
* [http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT232R.pdf FT232RQ] - USB to serial UART interface
* [https://www.mouser.co.uk/ProductDetail/ON-Semiconductor-Fairchild/FPF3040UCX?qs=%2Fha2pyFadugFS4y9FPVZuPGu3r1FS%252B6Gghb2pjWrbNdQOmVgbq%2FncA%3D%3D FPF3040UCX] - 18V-Rated Dual Input Single Output Power-Source-Selector Switch
** Chooses where to connect USB "VBUS" power lines when "EN-OTG" is set or not.
* [https://eu.mouser.com/ProductDetail/Texas-Instruments/TPS22963CYZPT?qs=%2Fha2pyFaduiPtXM9VsJfDxzeot7ozG8g10qHRVhOMwI8CD8%2FnOzJ6g%3D%3D TPS22963CYZPT] - Digital power switch to send power from "VSYS" to USB FPG3040UCX when "EN-OTG" is set
</noinclude>


==Charger==
==Charging==
The Pyra will charge from a standard microUSB2 cable, connected to a standard 5V USB2+ charge brick.  This can either be plugged into the USB2 section of the Micro-USB3 port, or the serial debug and charge Micro-USB2 port.
The Pyra will charge from a standard microUSB2 cable, connected to a standard 5V USB2+ charge brick.  This can either be plugged into the USB2 section of the Micro-USB3 port, or the serial debug and charge Micro-USB2 port.
 
<noinclude>
Hardware:
Hardware:
* [https://eu.mouser.com/ProductDetail/Texas-Instruments/BQ24297RGER?qs=%2Fha2pyFaduhJ8TUPvGVYRP1Kg7%2FbS3sfXLr9fKbQVI2XpqzZpV7AnA%3D%3D BQ24297RGER] - I2C (addr 0x6b) Controlled 3A Single Cell USB Charger With Narrow VDC PowerPath Management and Adjustable Voltage USB OTG
* [https://eu.mouser.com/ProductDetail/Texas-Instruments/BQ24297RGER?qs=%2Fha2pyFaduhJ8TUPvGVYRP1Kg7%2FbS3sfXLr9fKbQVI2XpqzZpV7AnA%3D%3D BQ24297RGER] - I2C (addr 0x6b) Controlled 3A Single Cell USB Charger With Narrow VDC PowerPath Management and Adjustable Voltage USB OTG
** Looks after "VBUS", "VBATT", "VSYS", and the USB "OTG" voltages.
** Looks after "VBUS", "VBATT", "VSYS", and the USB "OTG" voltages.
Line 65: Line 68:
* [https://eu.mouser.com/ProductDetail/Texas-Instruments/TPS22963CYZPT?qs=%2Fha2pyFaduiPtXM9VsJfDxzeot7ozG8g10qHRVhOMwI8CD8%2FnOzJ6g%3D%3D TPS22963CYZPT] - 5.5V, 3A, 13mΩ On-Resistance Load Switch
* [https://eu.mouser.com/ProductDetail/Texas-Instruments/TPS22963CYZPT?qs=%2Fha2pyFaduiPtXM9VsJfDxzeot7ozG8g10qHRVhOMwI8CD8%2FnOzJ6g%3D%3D TPS22963CYZPT] - 5.5V, 3A, 13mΩ On-Resistance Load Switch
** To control "VMODEM" from "EN-MODEM" signal
** To control "VMODEM" from "EN-MODEM" signal
 
</noinclude>
Sample of [https://twitter.com/EvilDragon1717/status/565822058530340864/photo/1 potentially official charger]
Sample of [https://twitter.com/EvilDragon1717/status/565822058530340864/photo/1 potentially official charger]


See also: [[Display]], [[Audio]]
See also: [[Display]], [[Audio]]

Latest revision as of 20:50, 2 April 2021


The Pyra has four USB ports, as detailed below.

For our purposes:

  • "USB2" means "capable of Low, Full and High-speed"
  • "USB3" means "capable of low, full, high and super-speed"
  • "OTG" means capable of operating in either host- or slave-mode.

Full-size USB2 Port

This is a straightforward USB port as found on many desktop PCs. I can be used for keyboards, mice, USB memory sticks, network adaptors and many other things (subject to driver support)

Hardware:

  • Assmann AU-Y1006-2-R - USB TYPE-A USB 2.0 Receptacle Connector 4 Position Surface Mount, Right Angle
  • IP4220CZ6F - Dual USB 2.0 integrated ESD protection

Full-size USB2 Port with eSATA

This can be used as a simple USB2 port as above. Although this uses a blue Connector designed for USB3 Ports, it is not capable of USB3 (with the current CPU-Board). The additional pins are used for (e-)SATA Lanes for to an Adapter.

Hardware:

  • Molex 48393-0003 - USB 3.0 Female Type A Connector
    • USB 2.0 data pins connect to "HOST1-D" pins of the CPU module
    • USB 3.0 data pins connect to "SATA-RX" and "SATA-TX" pins of the CPU module
  • TPD4EUSB30 - 4-Channel Transient Voltage and ESD Protection for Super-SpeedUSB 3.0 Interface used on eSATA lines

See Storage for more details.

Micro-USB3 OTG Port

This can be used much like the full-size USB2 ports, but at higher speeds and with the obvious requirement for a passive adaptor when using most peripherals. It can also be used to charge the Pyra (either from another computer, or a mains adaptor) and to operate as a USB slave. The Pandora has software allowing it to operate as a USB mouse, joystick, keyboard or SD-card reader in slave mode. It is expected that similar software will be available for the Pyra.

Hardware:

Serial-via-micro-USB2 Port

This is not a general-purpose USB port (as a result of limitations of the SOC) but can be used in two ways:

  • Charging the Pyra while the primary microUSB3 port is in host mode.
  • Monitoring the Pyra using another computer (Serial output from the Pyra's processor, via a built-in Serial-USB translator, with the Pyra as USB slave)

Hardware:

  • Molex 105017-001 - Micro-USB B Receptacle, Bottom Mount, Surface Mount, with Solder Tabs
  • FT232RQ - USB to serial UART interface
  • FPF3040UCX - 18V-Rated Dual Input Single Output Power-Source-Selector Switch
    • Chooses where to connect USB "VBUS" power lines when "EN-OTG" is set or not.
  • TPS22963CYZPT - Digital power switch to send power from "VSYS" to USB FPG3040UCX when "EN-OTG" is set


Charging

The Pyra will charge from a standard microUSB2 cable, connected to a standard 5V USB2+ charge brick. This can either be plugged into the USB2 section of the Micro-USB3 port, or the serial debug and charge Micro-USB2 port.

Hardware:

  • BQ24297RGER - I2C (addr 0x6b) Controlled 3A Single Cell USB Charger With Narrow VDC PowerPath Management and Adjustable Voltage USB OTG
    • Looks after "VBUS", "VBATT", "VSYS", and the USB "OTG" voltages.
    • Provides a "CHG-STAT" charging status used to make "LED-PWR" red.
    • Monitors the "BATTEMP" battery middle pin.
    • Sends "CHG-INT" 256-μs pulses to the CPU module to report charger device status and fault.
  • TLV70233DBVR - LDO Voltage Regulator, drops VSYS down to 3V3, but only when CPU Module supplies "1V8" to the LDO's enable input
  • INA231YFFT - High or Low-Side Measurement, Bidirectional Current and Power Monitor With 1.8-V I2C (addr 0x4x) interface
  • TPS22963CYZPT - 5.5V, 3A, 13mΩ On-Resistance Load Switch
    • To control "VMODEM" from "EN-MODEM" signal

Sample of potentially official charger

See also: Display, Audio