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

From DAVE Developer's Wiki
Jump to: navigation, search
 
Line 11: Line 11:
 
<section end=History/>
 
<section end=History/>
 
__FORCETOC__
 
__FORCETOC__
<section begin=Body/>==GPIOs interface ==
+
<section begin=Body/>
 +
 
 +
==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.
 
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.

Latest revision as of 10:30, 9 January 2024

History
Issue Date Notes
2021/07/19 First EVK 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.