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}}")
 
Line 7: Line 7:
 
!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"|Jul 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 DESK 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"|...
 
 
|-
 
|-
 
|}
 
|}
Line 26: Line 17:
 
==GPIOs interface ==
 
==GPIOs interface ==
  
''TBD: sostituire le sezioni con le informazioni sull'uso della periferica e del suo connettore''
+
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.
''Nell'esempio di seguito c'è la descrizione dell'interfaccia UART/console''
 
  
 
=== Description  ===
 
=== Description  ===
  
The GPIOs interface available on the Evaluation Kit at the connector ''TBD:Jxxx''.  
+
The GPIOs interface available on the Evaluation Kit at the connector JP1. JP1 is a 2x6x2.54mm header pinstrip 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:{{{nome-som}}-EVB-GPIOs-connector.png|thumb|center|500px|GPIOs connector]]
+
[[File:AXEL_ULite-EVB-GPIOs-connector.png|thumb|center|500px|GPIOs connector]]
  
 
===Signals ===
 
===Signals ===
Line 49: Line 36:
 
! latexfontsize="scriptsize"| Pin Notes
 
! latexfontsize="scriptsize"| Pin Notes
 
|-
 
|-
|1,2,4,6,,7,8,10
+
|1 || - || 3.3V|| - || -
| -
+
|-
| N.A.
+
|2 || - || DGND|| Ground || -
| N.C.
+
|-
| Not connected
+
|3 || J1.93 || GPIO_IN_0 || || GPIO2_IO09
 
|-
 
|-
| 3
+
|4 || J1.107 || GPIO_OUT_0 || || GPIO2_IO12
| J1.189
 
| RS232_RX
 
| Receive line
 
|  
 
 
|-
 
|-
| 3
+
|5 || J1.95 || GPIO_IN_1 || || GPIO2_IO08
| J1.187
+
|-
| RS232_TX
+
|6 || J1.38 || GPIO_OUT_1 || || GPIO1_IO00
| Transmit line
+
|-
|  
+
|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
 +
|-
 +
|12 || J1.179 || GPIO_OUT_4 || || GPIO1_IO23
 
|-
 
|-
| 9
 
| -
 
| DGND
 
| Ground
 
|
 
 
|}
 
|}
  
 
=== Device mapping ===
 
=== Device mapping ===
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.
+
GPIOs can be used directly on Linux kernel device driver or can be configured on the device tree.
  
 
=== Device usage ===
 
=== Device usage ===
  
To connect to the debug serial port:
+
See the [[AXEL_ULite_SOM/DESK-MX6UL-L/Pheripherals/GPIOs | GPIOs]] page on the [[AXEL_ULite_SOM/DESK-MX6UL-L | DESK-MX6UL-L]] Software Manual.
 
 
# 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:AXEL ULite]]
 
[[Category:AXEL ULite]]

Revision as of 13:55, 19 July 2021

History
Version Issue Date Notes
1.0.0 Jul 2021 First DESK release


GPIOs interface[edit | edit source]

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.

Description[edit | edit source]

The GPIOs interface available on the Evaluation Kit at the connector JP1. JP1 is a 2x6x2.54mm header pinstrip connector.

GPIOs connector

Signals[edit | edit source]

The following table describes the interface signals:

Pin# SOM Pin# Pin name Pin function Pin Notes
1 - 3.3V - -
2 - DGND Ground -
3 J1.93 GPIO_IN_0 GPIO2_IO09
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
12 J1.179 GPIO_OUT_4 GPIO1_IO23

Device mapping[edit | edit source]

GPIOs can be used directly on Linux kernel device driver or can be configured on the device tree.

Device usage[edit | edit source]

See the GPIOs page on the DESK-MX6UL-L Software Manual.