Jump to content
  • 0

NanoPi Neo Core GPIOA0 would'n toggle


Coby Levy
 Share

Question

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.

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

Check forum guidelines to use maximum potential!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...