RSB-4411 User Manual
42
3.1.14
GPIO Test
3.1.14.1
GPIO Pin define:
GPIO_Q7-1: NANDF_CS0/GPIO6_IO11
GPIO_Q7-2: NANDF_CS1/GPIO6_IO14
GPIO_Q7-3: NANDF_CS2/GPIO6_IO15
GPIO_Q7-4: NANDF_CS3/GPIO6_IO16
GPIO_Q7-5: EIM_OE/GPIO2_IO25
GPIO_Q7-6: EIM_CS0/GPIO2_IO23
GPIO_Q7-7: EIM_CS1/GPIO2_IO24
GPIO_Q7-8: EIM_A25/GPIO5_IO2
3.1.14.2
GPIO Number:
GPIO1 number = 171 [32*(6-1) + 11]
GPIO2 number = 174 [32*(6-1) + 14]
GPIO3 number = 175 [32*(6-1) + 15]
GPIO4 number = 176 [32*(6-1) + 16]
GPIO5 number = 57 [32*(2-1) + 25]
GPIO6 number = 55 [32*(2-1) + 23]
GPIO7 number = 56 [32*(2-1) + 24]
GPIO8 number = 130 [32*(5-1) + 2]
3.1.14.3
GPIO Test method:
1) cd /sys/class/gpio
2) Before setting:
root@imx6qprom7421:/sys/class/gpio#
ls
export
gpiochip128
gpiochip192
gpiochip32
gpiochip96
gpiochip0
gpiochip160
gpiochip247
gpiochip64
unexport
3) export 8 gpio pins
export
GPIO1,
command:
echo
171
>
./export
export
GPIO2,
command:
echo
174
>
./export
export
GPIO3,
command:
echo
175
>
./export
export
GPIO4,
command:
echo
176
>
./export
export
GPIO5,
command:
echo
57
>
./export
export
GPIO6,
command:
Содержание RSB-4411
Страница 2: ...User Manual RSB 4411 3 5 SBC with NXP i MX6 Processor ARM Cortex A9 Architecture ...
Страница 11: ...RSB 4411 User Manual x ...
Страница 12: ...Chapter 1 1 General Introduction ...
Страница 15: ...RSB 4411 User Manual 4 ...
Страница 16: ...Chapter 2 2 H W Installation ...
Страница 33: ...RSB 4411 User Manual 22 Figure 2 25 M 2 Connector ...
Страница 34: ...23 RSB 4411 User Manual Chapter 2 H W Installation 2 3 Mechanical 2 3 1 Jumper and Connector Location ...
Страница 37: ...RSB 4411 User Manual 26 ...
Страница 38: ...Chapter 3 3 Software Functionality This chapter details the software programs on the RSB 4411 plat form ...
Страница 82: ...71 RSB 4411 User Manual Chapter 5 Advantech Services ...