Difference between revisions of "AXEL ULite SOM/AXEL ULite 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=AXEL ULite | nome-peripheral = GPIOs}}")
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
!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"|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"|2021/07/19
+
|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 EVK 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/>
__FORCETOC__
 
 
<section begin=Body/>
 
<section begin=Body/>
  
 
==GPIOs interface ==
 
==GPIOs interface ==
  
i.MX6UL can handle external pins in many different ways and most of them can be configured as GPIOs. When a pin is set as a GPIO, it is possible to read its value, change its direction or change output value directly from the shell.
+
''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 available on the Evaluation Kit at the connector JP1. JP1 is a 2x6x2.54mm header pinstrip connector.
+
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:AXEL_ULite-EVB-GPIOs-connector.png|thumb|center|500px|GPIOs connector]]
+
[[File:{{{nome-som}}-EVB-GPIOs-connector.png|thumb|center|500px|GPIOs connector]]
  
 
===Signals ===
 
===Signals ===
Line 34: Line 49:
 
! latexfontsize="scriptsize"| Pin Notes
 
! latexfontsize="scriptsize"| Pin Notes
 
|-
 
|-
|1 || - || 3.3V|| - || -
+
|1,2,4,6,,7,8,10
|-
+
| -
|2 || - || DGND|| Ground || -
+
| N.A.
|-
+
| N.C.
|3 || J1.93 || GPIO_IN_0 || || GPIO2_IO09
+
| Not connected
|-
 
|4 || J1.107 || GPIO_OUT_0 || || GPIO2_IO12
 
|-
 
|5 || J1.95 || GPIO_IN_1 || || GPIO2_IO08
 
|-
 
|6 || J1.38 || GPIO_OUT_1 || || GPIO1_IO00
 
|-
 
|7 || J1.97 || GPIO_IN_2 || || GPIO2_IO11
 
|-
 
|8 || J1.78 || GPIO_OUT_2 || || GPIO4_IO24
 
|-
 
|9 || J1.99 || GPIO_IN_3 || || GPIO2_IO10
 
|-
 
|10 || J1.80 || GPIO_OUT_3 || || GPIO4_IO22
 
 
|-
 
|-
|11 || J1.105 || GPIO_IN_4 || || GPIO2_IO13
+
| 3
 +
| J1.189
 +
| RS232_RX
 +
| Receive line
 +
|  
 
|-
 
|-
|12 || J1.179 || GPIO_OUT_4 || || GPIO1_IO23
+
| 3
 +
| J1.187
 +
| RS232_TX
 +
| Transmit line
 +
|  
 
|-
 
|-
 +
| 9
 +
| -
 +
| DGND
 +
| Ground
 +
|
 
|}
 
|}
  
 
=== Device mapping ===
 
=== Device mapping ===
GPIOs can be used directly on Linux kernel device driver or can be configured on the device tree.
+
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 ===
 
=== Device usage ===
  
See the [[DESK-MX6UL-L/Pheripherals/GPIOs | GPIOs]] page on the [[DESK-MX6UL-L | DESK-MX6UL-L]] Software Manual.
+
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
  
<section end=Body/>
+
----
  
 
[[Category:AXEL ULite]]
 
[[Category:AXEL ULite]]

Revision as of 13:50, 19 July 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