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

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{subst:EVB_Interfaces_and_Connectors | nome-som=ORCA SOM | nome-peripheral = GPIOs}}")
(3 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/10
+
|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/>
  
 
==GPIOs interface ==
 
==GPIOs 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 GPIOs interface is available on the Evaluation Kit at the connector J8.  
+
The GPIOs interface available on the Evaluation Kit at the connector ''TBD:Jxxx''.  
  
J8 is a 20x2x2.54mm pin strip header connector.
+
''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-J8-connector.png|thumb|center|500px|GPIOs connector (J8)]]
+
[[File:{{{nome-som}}-EVB-GPIOs-connector.png|thumb|center|500px|GPIOs connector]]
  
 
===Signals ===
 
===Signals ===
  
 
The following table describes the interface signals:
 
The following table describes the interface signals:
{| class="wikitable"
+
 
! latexfontsize="scriptsize" |Pin#
+
{| class="wikitable"  
! latexfontsize="scriptsize" |SOM Pin#
+
! latexfontsize="scriptsize"| Pin#
! latexfontsize="scriptsize" |Pin name
+
! latexfontsize="scriptsize"| SOM Pin#
! latexfontsize="scriptsize" |Pin function
+
! latexfontsize="scriptsize"| Pin name
! latexfontsize="scriptsize" |Pin Notes
+
! latexfontsize="scriptsize"| Pin function
 +
! latexfontsize="scriptsize"| Pin Notes
 
|-
 
|-
|7
+
|1,2,4,6,,7,8,10
|J15.150
+
| -
|SAI2_TXFS
+
| N.A.
|GPIO4_IO24
+
| N.C.
|
+
| Not connected
|-
 
|8
 
|J15.144
 
|SAI2_RXFS
 
|GPIO4_IO21
 
|
 
|-
 
|10
 
|J15.140
 
|SAI2_RXC
 
|GPIO4_IO22
 
|
 
|-
 
|11
 
|J15.142
 
|SAI2_RXD0
 
|GPIO4_IO23
 
|
 
|-
 
|12
 
|J15.146
 
|SAI2_TXC
 
|GPIO4_IO25
 
|
 
|-
 
|13
 
|J15.132
 
|SPDIF_RX
 
|GPIO5_IO04
 
|
 
|-
 
|15
 
|J15.134
 
|SPDIF_TX
 
|GPIO5_IO03
 
|
 
|-
 
|16
 
|J15.148
 
|SAI2_TXD0
 
|GPIO4_IO26
 
|
 
|-
 
|18
 
|J15.138
 
|SAI2_MCLK
 
|GPIO4_IO27
 
|
 
|-
 
|19
 
|J15.122
 
|ECSPI2_MOSI
 
|GPIO5_IO11
 
|
 
|-
 
|21
 
|J15.120
 
|ECSPI2_MISO
 
|GPIO5_IO12
 
|
 
|-
 
|22
 
|J15.166
 
|SAI5_MCLK
 
|GPIO3_IO25
 
|
 
|-
 
|23
 
|J15.124
 
|ECSPI2_SCLK
 
|GPIO5_IO10
 
|
 
|-
 
|24
 
|J15.126
 
|ECSPI2_SS0
 
|GPIO5_IO13
 
|
 
 
|-
 
|-
|26
+
| 3
|J15.130
+
| J1.189
|SPDIF_EXT_CLK
+
| RS232_RX
|GPIO5_IO05
+
| Receive line
|
+
|  
 
|-
 
|-
|27
+
| 3
|J15.248
+
| J1.187
|UART2_RXD
+
| RS232_TX
|GPIO5_IO24
+
| Transmit line
|
+
|  
 
|-
 
|-
|28
+
| 9
|J15.152
 
|SAI3_MCLK
 
|GPIO5_IO02
 
|
 
|-
 
|29
 
|J15.250
 
|UART2_TXD
 
|GPIO5_IO25
 
|
 
|-
 
|31
 
|J15.256
 
|UART4_RXD
 
|GPIO5_IO28
 
|
 
|-
 
|32
 
|J15.178
 
|SAI5_RXFS
 
|GPIO3_IO19
 
|
 
|-
 
|33
 
|J15.258
 
|UART4_TXD
 
|GPIO5_IO29
 
|
 
|-
 
|35
 
|J15.176
 
|SAI5_RXD3
 
|GPIO3_IO24
 
|
 
|-
 
|36
 
|J15.174
 
|SAI5_RXD2
 
|GPIO3_IO23
 
|
 
|-
 
|37
 
|J15.172
 
|SAI5_RXD1
 
|GPIO3_IO22
 
|
 
|-
 
|38
 
|J15.170
 
|SAI5_RXD0
 
|GPIO3_IO21
 
|
 
|-
 
|40
 
|J15.168
 
|SAI5_RXC
 
|GPIO3_IO20
 
|
 
|-
 
|1, 17
 
| -
 
|3V3_CB
 
| +3.3V
 
|BOARD_PGOOD driven rail
 
|-
 
|2, 4
 
| -
 
|5V_VIN
 
| +5V
 
|Always powered
 
|-
 
|6, 9, 14, 20, 25, 30, 34, 39
 
 
| -
 
| -
|DGND
+
| DGND
|Ground
+
| Ground
|
+
|  
 
|}
 
|}
All the GPIO signals are 0-3.3V level.
 
  
 
=== Device mapping ===
 
=== Device mapping ===
GPIOs are mapped into banks each of which contains 32 pins. They are named as GPIO<bank>_IO<pin>
+
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.
  
Each pin can be addressed with an incremental number, calculated as follows: GPIO = 32 x (<bank> - 1) + <pin>
+
=== Device usage ===
  
=== Device usage ===
+
To connect to the debug serial port:
  
Under Linux the GPIOs can be manipulated su sysfs export or with the gpio tools.
+
# 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 12:48, 8 September 2021

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


GPIOs 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 GPIOs 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-GPIOs-connector.png|thumb|center|500px|GPIOs 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