Page 1 of 1

Not able to use GPIO of NANO PI Fire3 Board(Linux platform)

Posted: Tue Oct 30, 2018 12:19 pm
by rahul_kumbhar
We are using Friendly ARM Nano Pi Fire3 board(Linux Platform). We want to configure GPIO and set it as either Input or output.
We tried Matrix library code for access GPIO.
but when we run code then it gives following error.


root@NanoPi-Fire3:/sys/class/gpio# ls
export gpiochip0 gpiochip128 gpiochip160 gpiochip32 gpiochip64 gpiochip96 unexport
root@NanoPi-Fire3:/sys/class/gpio#cd /
root@NanoPi-Fire3:
root@NanoPi-Fire3:
root@NanoPi-Fire3:
root@NanoPi-Fire3:~# cd /root/matrix/demo/matrix-gpio_out
root@NanoPi-Fire3:~/matrix/demo/matrix-gpio_out# ls
Makefile matrix-gpio_out Matrix-gpio_out.c
root@NanoPi-Fire3:~/matrix/demo/matrix-gpio_out# ./matrix-gpio_out
Hardware:NANOPI3
Revision:0005
BoardType:-1
FAHW-Lib: Fail to initPinGPIO
FAHW-Lib: Fail to initPwmGPIO
Fail to init board
root@NanoPi-Fire3:~/matrix/demo/matrix-gpio_out#

I checked library files where I found in matrix/lib/gpio.c in which there is no provision for NANO PI Fire 3.
so how we can use GPIO as input or output for NANO PI Fire3 board?

Re: Not able to use GPIO of NANO PI Fire3 Board(Linux platform)

Posted: Thu Oct 24, 2019 1:00 am
by tuxd3v
Hello All, any news on this subject?

I am also interested in using the GPIO on NanoPi Fire3..