Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NanoPi Neo Core GPIOA0 would'n toggle

Featured Replies

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.

 

Solved by Coby Levy

  • Author
  • Solution

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.