Difference between revisions of "ORCA SOM/ORCA Evaluation Kit/Interfaces and Connectors/USB ports"

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{subst:EVB_Interfaces_and_Connectors | nome-som=ORCA SOM | nome-peripheral = USB Ports}}")
 
Line 1: Line 1:
<section begin=History/>
+
<section begin="History" />
 
{| style="border-collapse:collapse; "
 
{| style="border-collapse:collapse; "
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
+
! colspan="4" style="width:100%; text-align:left" ; border-bottom:solid 2px #ededed" |History
 
|-  
 
|-  
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Version
+
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Version
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Issue Date
+
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Issue Date
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
+
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Notes
 
|-
 
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|X.Y.Z
+
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |1.0.0
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Month Year
+
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |Sep 2021
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBD
+
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |First release
 
|-
 
|-
|-
 
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|[TBD_link X.Y.Z]
 
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Month Year
 
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBD
 
|-
 
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|...
 
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|...
 
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|...
 
 
|-
 
|-
 
|}
 
|}
<section end=History/>
+
<section end="History" />
<section begin=Body/>
+
<section begin="Body" />
  
 
==USB Ports interface ==
 
==USB Ports interface ==
  
''TBD: sostituire le sezioni con le informazioni sull'uso della periferica e del suo connettore''
+
=== Description  ===
''Nell'esempio di seguito c'è la descrizione dell'interfaccia UART/console''
 
  
=== Description  ===
+
The Evaluation Kit provides two USB3.0 ports at the connectors J3 and J4.
  
The USB Ports interface available on the Evaluation Kit at the connector ''TBD:Jxxx''.  
+
J3 and J4 are USB Type-C connectors. J3 is also used to supply the system, see [[ORCA SOM/ORCA Evaluation Kit/Interfaces and Connectors/Power Supply|Power Supply]] section.
  
''Jxx'' is a ''TBD:connector-type'' header connector for the RS232 two-wires UART3 port, used for debug purposes (bootloader and operating system serial console).
+
Both ports can provide 5V output up to 2.2A. J3 port can also be configured to provide up to 3.3A
  
  
Line 40: Line 31:
 
===Signals ===
 
===Signals ===
  
The following table describes the interface signals:
+
The following table describes the interfaces signals:
  
 +
==== J3 ====
 
{| class="wikitable"  
 
{| class="wikitable"  
! latexfontsize="scriptsize"| Pin#
+
! latexfontsize="scriptsize" | Pin#
! latexfontsize="scriptsize"| SOM Pin#
+
! latexfontsize="scriptsize" | SOM Pin#
! latexfontsize="scriptsize"| Pin name
+
! latexfontsize="scriptsize" | Pin name
! latexfontsize="scriptsize"| Pin function
+
! latexfontsize="scriptsize" | Pin function
! latexfontsize="scriptsize"| Pin Notes
+
! latexfontsize="scriptsize" | Pin Notes
 
|-
 
|-
|1,2,4,6,,7,8,10
+
|A4, A9, B4, B9
 
| -
 
| -
| N.A.
+
| VBUS
| N.C.
+
| +5V
| Not connected
+
|  
 
|-
 
|-
| 3
+
| A6, B6
| J1.189
+
|J15.193
| RS232_RX
+
| DP1
| Receive line
+
| USB_DP
 
|  
 
|  
 
|-
 
|-
| 3
+
|A7, B7
| J1.187
+
|J15.195
| RS232_TX
+
|DN1
| Transmit line
+
| USB_DN
 
|  
 
|  
 
|-
 
|-
| 9
+
|A2
 +
|J15.199
 +
|SSTXP1
 +
|USB_TX_P
 +
|
 +
|-
 +
|A3
 +
|J15.201
 +
|SSTXN1
 +
|USB_TX_N
 +
|
 +
|-
 +
|B11
 +
|J15.203
 +
|SSRXP1
 +
|USB_RX_P
 +
|
 +
|-
 +
|B10
 +
|J15.205
 +
|SSRXN1
 +
|USB_RX_N
 +
|
 +
|-
 +
|B2
 +
|J15.199
 +
|SSTXP2
 +
|USB_TX_P
 +
|
 +
|-
 +
|B3
 +
|J15.201
 +
|SSTXN2
 +
|USB_TX_N
 +
|
 +
|-
 +
|A11
 +
|J15.203
 +
|SSRXP2
 +
|USB_RX_P
 +
|
 +
|-
 +
|A10
 +
|J15.205
 +
|SSRXN2
 +
|USB_RX_N
 +
|
 +
|-
 +
|A5
 +
| -
 +
|CC1
 +
|Orientation Plug
 +
|Used for PD handshake
 +
|-
 +
|B5
 +
| -
 +
|CC2
 +
|Orientation Plug
 +
|Used for PD handshake
 +
|-
 +
|A8
 +
| -
 +
|SBU1
 +
|Side Band Use
 +
|
 +
|-
 +
|B8
 +
| -
 +
|SBU2
 +
|Side Band Use
 +
|
 +
|-
 +
|A1, A12, B1, B12
 
| -
 
| -
| DGND
+
|DGND
| Ground
+
|Ground
|  
+
|
 
|}
 
|}
  
=== Device mapping ===
+
=== J4 ===
UART3 is mapped to <code>/dev/ttymxc2</code> device in Linux. The peripheral is used as the default serial console, both for the bootloader and the kernel.
+
{| class="wikitable"
 +
! latexfontsize="scriptsize" | Pin#
 +
! latexfontsize="scriptsize" | SOM Pin#
 +
! latexfontsize="scriptsize" | Pin name
 +
! latexfontsize="scriptsize" | Pin function
 +
|-
 +
|A4, A9, B4, B9
 +
| -
 +
| VBUS
 +
| +5V
 +
|-
 +
| A6, B6
 +
|J15.173
 +
| DP1
 +
| USB_DP
 +
|-
 +
|A7, B7
 +
|J15.175
 +
|DN1
 +
| USB_DN
 +
|-
 +
|A2
 +
|J15.179
 +
|SSTXP1
 +
|USB_TX_P
 +
|-
 +
|A3
 +
|J15.181
 +
|SSTXN1
 +
|USB_TX_N
 +
|-
 +
|B11
 +
|J15.183
 +
|SSRXP1
 +
|USB_RX_P
 +
|-
 +
|B10
 +
|J15.185
 +
|SSRXN1
 +
|USB_RX_N
 +
|-
 +
|B2
 +
|J15.179
 +
|SSTXP2
 +
|USB_TX_P
 +
|-
 +
|B3
 +
|J15.181
 +
|SSTXN2
 +
|USB_TX_N
 +
|-
 +
|A11
 +
|J15.183
 +
|SSRXP2
 +
|USB_RX_P
 +
|-
 +
|A10
 +
|J15.185
 +
|SSRXN2
 +
|USB_RX_N
 +
|-
 +
|A5
 +
| -
 +
|CC1
 +
|Orientation Plug
 +
|-
 +
|B5
 +
| -
 +
|CC2
 +
|Orientation Plug
 +
|-
 +
|A8
 +
| -
 +
|SBU1
 +
|Side Band Use
 +
|-
 +
|B8
 +
| -
 +
|SBU2
 +
|Side Band Use
 +
|-
 +
|A1, A12, B1, B12
 +
| -
 +
|DGND
 +
|Ground
 +
|}
  
 
=== Device usage ===
 
=== Device usage ===
 
+
The USB ports can be used under Linux for connecting USB devices: the related device driver has to be integrated into the Linux kernel.
To connect to the debug serial port:
 
 
 
# connect the DB9 adapter bracket to the J22 connector on the SBCX board
 
# connect a serial cable between DB9 connector and PC COM port through a NULL-modem cable (not provided)
 
# start your favorite terminal emulator software on PC (eg: PuTTY); communication parameters are: 115200,N,8,1
 
 
 
 
----
 
----
  
 
[[Category:ORCA SOM]]
 
[[Category:ORCA SOM]]

Revision as of 09:29, 7 September 2021

History
Version Issue Date Notes
1.0.0 Sep 2021 First release


USB Ports interface[edit | edit source]

Description[edit | edit source]

The Evaluation Kit provides two USB3.0 ports at the connectors J3 and J4.

J3 and J4 are USB Type-C connectors. J3 is also used to supply the system, see Power Supply section.

Both ports can provide 5V output up to 2.2A. J3 port can also be configured to provide up to 3.3A


[[File:{Template:Nome-som-EVB-USB Ports-connector.png|thumb|center|500px|USB Ports connector]]

Signals[edit | edit source]

The following table describes the interfaces signals:

J3[edit | edit source]

Pin# SOM Pin# Pin name Pin function Pin Notes
A4, A9, B4, B9 - VBUS +5V
A6, B6 J15.193 DP1 USB_DP
A7, B7 J15.195 DN1 USB_DN
A2 J15.199 SSTXP1 USB_TX_P
A3 J15.201 SSTXN1 USB_TX_N
B11 J15.203 SSRXP1 USB_RX_P
B10 J15.205 SSRXN1 USB_RX_N
B2 J15.199 SSTXP2 USB_TX_P
B3 J15.201 SSTXN2 USB_TX_N
A11 J15.203 SSRXP2 USB_RX_P
A10 J15.205 SSRXN2 USB_RX_N
A5 - CC1 Orientation Plug Used for PD handshake
B5 - CC2 Orientation Plug Used for PD handshake
A8 - SBU1 Side Band Use
B8 - SBU2 Side Band Use
A1, A12, B1, B12 - DGND Ground

J4[edit | edit source]

Pin# SOM Pin# Pin name Pin function
A4, A9, B4, B9 - VBUS +5V
A6, B6 J15.173 DP1 USB_DP
A7, B7 J15.175 DN1 USB_DN
A2 J15.179 SSTXP1 USB_TX_P
A3 J15.181 SSTXN1 USB_TX_N
B11 J15.183 SSRXP1 USB_RX_P
B10 J15.185 SSRXN1 USB_RX_N
B2 J15.179 SSTXP2 USB_TX_P
B3 J15.181 SSTXN2 USB_TX_N
A11 J15.183 SSRXP2 USB_RX_P
A10 J15.185 SSRXN2 USB_RX_N
A5 - CC1 Orientation Plug
B5 - CC2 Orientation Plug
A8 - SBU1 Side Band Use
B8 - SBU2 Side Band Use
A1, A12, B1, B12 - DGND Ground

Device usage[edit | edit source]

The USB ports can be used under Linux for connecting USB devices: the related device driver has to be integrated into the Linux kernel.