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.

GPIO switches on used ports Nano Pi NeoCore

Featured Replies

Hi,

 

I realise the NeoCore is not yet supported, but I hope someone can help me with a problem that I am having using the GPIO as buttons.

 

I would like to use the gpio marked

GPIOPA13,P A14, PA15,P A16 and PA2

 

I think these are used by the UART and SPI - I don't require this functionality.

 

I think I have to modify the fex, I have looked, but do not want to kill my system

 

Isit possible to use those gpio?

 

Can someone point me in the right direction?

TIA.

J.

 

  • Author

Hey Igor.

Thanks for the reply. I checked out your links and it is way beyond me.

I looked the current fex file and found these 2 occurrences of PA 15

[card_boot]
logical_start = 40960
sprite_work_delay = 500
sprite_err_delay = 200
sprite_gpio0 = port:PA15<1><default><default><default>
next_work = 3

and

[spi1]
spi_used = 0
spi_cs_bitmap = 1
spi_cs0 = port:PA13<2><1><default><default>
spi_sclk = port:PA14<2><default><default><default>
spi_mosi = port:PA15<2><default><default><default>
spi_miso = port:PA16<2><default><default><default>

and PA16

[audio0]
audio_used = 1
lineout_vol = 31
cap_vol = 5
audio_hp_ldo = "none"
adcagc_used = 0
adcdrc_used = 0
dacdrc_used = 0
adchpf_used = 0
dachpf_used = 0
audio_pa_ctrl = port:PA16<1><default><default><0>

So I really don't know what to change it to (without killing my system), that will allow me to connect a button between that port and ground.

Is it even possible with those ports or should I look elsewhere?

 

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.