AURA SOM/AURA Evaluation Kit/Interfaces and Connectors/GPIOs

From DAVE Developer's Wiki
Jump to: navigation, search
History
Issue Date Notes
2024/05/22 First release


GPIOs[edit | edit source]

Description[edit | edit source]

i.MX93 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.

Signals[edit | edit source]

The following table describes some GPIOs signals available on J33 WIDE™ connector:

Pin# SOM Pin# Pin name GPIO index Alternate function
1 J10.134 SD1_STROBE GPIO3_IO018 SD1_STROBE
2 J10.179 GPIO_IO00 GPIO2_IO30 SPI6_PCS0
3 J10.136 - - -
4 J10.181 GPIO_IO03 GPIO2_IO3 SPI6_SCK
5 J10.138 SD1_DATA0 GPIO2_IO2 SD1_DATA0
6 J10.183 GPIO_IO01 GPIO2_IO01 SPI6_SIN
7 J10.140 SD1_DATA1 GPIO2_IO3 SD1_DATA1
8 J10.195 GPIO_IO13 GPIO2_IO13 SPI6_SOUT
9 J10.142 SD1_DATA2 GPIO2_IO4 SD1_DATA2
11 J10.144 SD1_DATA3 GPIO2_IO5 SD1_DATA3
13 J10.148 SD1_DATA4 GPIO2_IO6 SD1_DATA4
15 J10.150 SD1_DATA5 GPIO2_IO7 SD1_DATA5
17 J10.152 SD1_DATA6 GPIO2_IO8 SD1_DATA6
18 J10.38 GPIO2_IO29 GPIO5_IO18 I2C3_SCL
19 J10.154 SD1_DATA7 GPIO2_IO9 SD1_DATA7
20 J10.48 GPIO2_IO28 GPIO5_IO19 I2C3_SDA
21 J10.156 ENET2_TD3 GPIO4_IO16 ENET1_RGMII_TD3
23 J10.158 ENET2_TD2 GPIO4_IO17 ENET1_RGMII_TD2
24 J10.46 GPIO_IO24 GPIO2_IO24
25 J10.160 ENET2_TD1 GPIO4_IO18 ENET1_RGMII_TD1
26 J10.28 WDOG_ANY GPIO1_IO15 -
27 J10.162 ENET2_TD0 GPIO4_IO19 ENET1_RGMII_TD30

UART4_TX

28 J10.191 GPIO_IO12 GPIO2_IO12 I2C8_SDA
29 J10.166 ENET2_TXC GPIO4_IO21 ENET1_RGMI_TXC
30 J10.193 GPIO_IO13 GPIO2_IO13 I2C8_SCL
31 J10.168 ENET2_TX_CTL GPIO4_IO220 ENET1_RGMI_TX_CTL

UART4_DTR

32 J10.50 CCM_CLK01 GPIO3_IO26
33 J10.170 ENET2_MDC GPIO4_IO14 ENET1_MDC

UART4_DCR

34 J10.40 GPIO_IO07 GPIO2_IO07
35 J10.172 ENET2_MDIO GPIO4_IO15 ENET1_MDIO

UART4_RIN

37 J10.174 ENET2_RX_CTL GPIO4_IO22 ENET1_RGMII_RX_CTL

UART4_DSR

39 J10.176 ENET2_RD0 GPIO4_IO24 ENET1_RGMII_RD0

UART4_RX

41 J10.178 ENET2_RD1 GPIO4_IO25 ENET1_RGMII_RD1
43 J10.180 ENET2_RD2 GPIO4_IO26 ENET1_RGMII_RD2

UART4_CTS

45 J10.182 ENET2_RD3 GPIO4_IO27 ENET1_RGMII_RD3
47 J10.184 ENET2_RXC GPIO4_IO23 ENET1_RGMI_RXC
49 J10.124 ENET1_MDC GPIO4_IO00 I3C2_SCL
51 J10.126 ENET1_MDIO GPIO4_IO01 I3C2_SDA
53 J10.128 SD1_CLK GPIO3_IO08 SD1_CLK
55 J10.130 SD1_CMD GPIO3_IO09 SD1_CMD
57 J10.132 ETH1_LED5 - -

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-MX9-L Software Manual.