ETRA SBC/Interfaces and Connectors/GPIOs

From DAVE Developer's Wiki
Jump to: navigation, search
History
Issue Date Notes
2021/01/14 First Release


GPIOs interface[edit | edit source]

Description[edit | edit source]

STM32MP1 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.


GPIOsconnector

Signals[edit | edit source]

The following table describes some GPIOs signals available on J12 (2x15x2.54mm) connector:

Pin# SOM Pin# Pin name Pin function Pin Notes
3 J18.97 PD13
5 J18.99 PD12
6 J18.34 PB13
7 J18.101 PD11
8 J18.68 PB5
9 J18.105 PG9
12 J18.48 PA12
14 J18.38 PA11
18 J18.80 PF6
20 J18.76 PF9
22 J18.74 PF7
24 J18.78 PF8
26 J18.181 PD6
28 J18.28 PA9

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