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

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{subst:EVB_Interfaces_and_Connectors | nome-som=ORCA SOM | nome-peripheral = PCIe}}")
(4 intermediate revisions by 2 users not shown)
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" |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"|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" |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"|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:#edf8fb; padding:5px; color:#000000" |2021/12/13
+
|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" |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"|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"|[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/>
  
 
==PCIe interface ==
 
==PCIe interface ==
 +
 +
''TBD: sostituire le sezioni con le informazioni sull'uso della periferica e del suo connettore''
 +
''Nell'esempio di seguito c'è la descrizione dell'interfaccia UART/console''
  
 
=== Description  ===
 
=== Description  ===
  
The PCI Express interface can be available on the Evaluation Kit at the connector J36. This connector is not mounted by default.
+
The PCIe interface available on the Evaluation Kit at the connector ''TBD:Jxxx''.  
 
 
J36 is a USB3.0 Type-A connector that delivers 1x PCIe slot. An external adapter is needed to route the signals to a standard PCIe connector.
 
 
 
The external adapter can be found as a ''PCIe riser'', commonly used in Ethereum mining like [https://www.parallelminer.com/product/ithoo-usb3-0-pci-express-1x-to-16x-extender-riser-card-adapter-w-24-cable/ this one].
 
  
{{ImportantMessage|text='''WARNING:''' do not connect USB devices to this port!}}
+
''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).
  
  
[[File:ORCA-EVK-PCIe-connector.png|thumb|center|500px|PCIe connector]]
+
[[File:{{{nome-som}}-EVB-PCIe-connector.png|thumb|center|500px|PCIe connector]]
  
 
===Signals ===
 
===Signals ===
Line 34: Line 43:
  
 
{| 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
+
|1,2,4,6,,7,8,10
 
| -
 
| -
|VBUS
+
| N.A.
| PCIE_WAKE#
+
| N.C.
| Routed to a test point
+
| Not connected
 
|-
 
|-
| 2
+
| 3
|J15.157
+
| J1.189
|D-
+
| RS232_RX
| PCIE2_REF_CN_CLKN
+
| Receive line
 
|  
 
|  
 
|-
 
|-
 
| 3
 
| 3
|J15.155
+
| J1.187
|D+
+
| RS232_TX
| PCIE2_REF_CN_CLKP
+
| Transmit line
 
|  
 
|  
 
|-
 
|-
|4
+
| 9
 
| -
 
| -
|GND
+
| DGND
| PCIE_PERST#
+
| Ground
| Routed to a test point
+
|  
|-
 
|5
 
|J15.159
 
|SSRX-
 
|PCIE_TXN_P
 
|Internally decoupled with 100nF series
 
|-
 
|6
 
|J15.161
 
|SSRX+
 
|PCIE_TXN_N
 
|Internally decoupled with 100nF series
 
|-
 
|7
 
| -
 
|GND_D
 
|Ground
 
|
 
|-
 
|8
 
|J15.163
 
|SSTX-
 
|PCIE_RXN_P
 
|
 
|-
 
|9
 
|J15.165
 
|SSTX+
 
|PCIE_RXN_N
 
|
 
 
|}
 
|}
  
 
=== Device mapping ===
 
=== Device mapping ===
The PCI express peripheral is mapped to the corresponding device in Linux depending on the associated kernel device driver and on the device tree configuration.
+
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.
 +
 
 +
=== Device usage ===
 +
 
 +
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]]
+
[[Category:ORCA SOM]]

Revision as of 15:28, 15 September 2021

History
Version Issue Date Notes
X.Y.Z Month Year TBD
[TBD_link X.Y.Z] Month Year TBD
... ... ...


PCIe interface[edit | edit source]

TBD: sostituire le sezioni con le informazioni sull'uso della periferica e del suo connettore Nell'esempio di seguito c'è la descrizione dell'interfaccia UART/console

Description[edit | edit source]

The PCIe interface available on the Evaluation Kit at the connector TBD:Jxxx.

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).


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

Signals[edit | edit source]

The following table describes the interface signals:

Pin# SOM Pin# Pin name Pin function Pin Notes
1,2,4,6,,7,8,10 - N.A. N.C. Not connected
3 J1.189 RS232_RX Receive line
3 J1.187 RS232_TX Transmit line
9 - DGND Ground

Device mapping[edit | edit source]

UART3 is mapped to /dev/ttymxc2 device in Linux. The peripheral is used as the default serial console, both for the bootloader and the kernel.

Device usage[edit | edit source]

To connect to the debug serial port:

  1. connect the DB9 adapter bracket to the J22 connector on the SBCX board
  2. connect a serial cable between DB9 connector and PC COM port through a NULL-modem cable (not provided)
  3. start your favorite terminal emulator software on PC (eg: PuTTY); communication parameters are: 115200,N,8,1