The GPIO connector in the node can be added in the device tree of the KCH Control ARM VFP Linux.
Parameters
|
Parameter |
Description |
|---|---|
|
GPIO controller |
GPIO Controller of CPU (see HW chapter) |
|
GPIO pin |
GPIO Pin of CPU (see HW chapter) |
|
Type |
GPIO Type Input/Output |
With the new GPIO node the values can directly mappt to variables.
Variables mappt
|
Parameter |
Description |
|---|---|
|
digital input |
Input Variable if used as input |
|
digital output |
Input Variable if used as output |
Hardware
SOM Evalboard:
|
Name |
GPIO Controller |
GPIO Pin |
Type |
|---|---|---|---|
|
DI1 (X19) |
5 |
4 |
Input |
|
DI2 (X19) |
5 |
0 |
Input |
|
DO1 (X19) |
5 |
5 |
Output |
|
DO2 (X19) |
5 |
1 |
Output |
Additionaly GPIO can be added on a custom SOM Board modifing the Device Tree File.
imx6 WPC:
|
Name |
GPIO Controller |
GPIO Pin |
Type |
|---|---|---|---|
|
GPIO3_IO00 (X4) |
2 |
0 |
Input/Output |
|
GPIO2_IO24 (X4) |
1 |
24 |
Input/Output |
|
GPIO3_IO02 (X4) |
1 |
2 |
Input/Output |
|
GPIO2_IO26 (X4) |
1 |
26 |
Input/Output |
|
GPIO2_IO27 (X4) |
1 |
27 |
Input/Output |
|
GPIO2_IO28 (X4) |
1 |
28 |
Input/Output |
|
GPIO2_IO29 (X4) |
1 |
29 |
Input/Output |
|
GPIO2_IO30 (X4) |
1 |
30 |
Input/Output |
|
GPIO2_IO31 (X4) |
1 |
31 |
Input/Output |