Jump to content

NanoPi Neo Core GPIOA0 would'n toggle


Go to solution Solved by Coby Levy,

Recommended Posts

Posted

hi everyone,

I'm running latest  Armbian 20.08.1 Buster with Linux 5.8.5-sunxi on a Nanopi Neo Core.

I cannot understand why I cant turn GPIOA0 on\off, can't configure it as output.

I have no problem with any other GPIOs, just this one.

 

command i'm using:

gpio mode 0 output
gpio write 0 1


I managed to make the GPIO as Output using this command, but still no go - the output cannot be set.

echo 0 > /sys/class/gpio/export
echo out > '/sys/class/gpio/gpio0/direction'

 

dmesg don't show any errors.

 

I checked H3 documents, there's no conflict in the mux with other GPIOs,
and just to be sure i turned UART everything off (UARTs, i2c, i2c, etc..).

 

could someone please guide me?
ty.

 

  • Solution
Posted

hi, thank you for your reply.

this is the output (it shows a proper toggles).

gpiochip0: GPIOs 0-223, parent: platform/1c20800.pinctrl, 1c20800.pinctrl:
 gpio-0   (                    |sysfs               ) out hi
 gpio-10  (                    |nanopi:blue:status  ) out lo
 gpio-166 (                    |cd                  ) in  lo ACTIVE LOW
 gpio-204 (                    |usb0_id_det         ) in  hi IRQ

 

but I think I figured out what's the problem is, Apparently - the GPIO is malfunction, I might burned it.

 

I tested it with a new installation,
and did the same on another board I have here.


thank you for your help,
Topic can be closed.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines