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.

How to enable SPI

Featured Replies

Hi im not Linux user not all, can someone point me how to enable SPI ? 

I try this:

 

Enabling SPI

Enable the hardware through config:

sudo armbian-config

switch on SPI in System>Hardware>SPI-spidev & save

Update /etc/modules:

sudo nano /etc/modules

to include the following line:

spi-dev

Update /boot/armbianEnv.txt :

sudo nano /boot/armbianEnv.txt

to include the following:

param_spidev_spi_bus=1 #origianl is 0 but the resonance measurement.py module expects 1 so easier to fix here

param_spidev_max_freq=100000000

The commands to verify the SPI bus should return output like:

$ ls /dev/spi* 

/dev/spidev1.0

$ ls -l /dev/spi*

crw——- 1 root root 153, 0 Aug 25 11:05 /dev/spidev1.0

$ lsmod | grep -i spi

spidev 20480 1

 

But on $ ls /dev/spi* give me 

ls: cannot access '/dev/spi*': No such file or directory

 

dmesg

https://pastebin.com/BNSpyMiL

 

Keep in mind English is not my native language.

 

Goodday

 

I had the same issue with a NanoPi Neo, your steps worked for me, with version Armbian_21.02.1_Nanopineo_bionic_current_5.10.12.

It do not work with version

Armbian_23.8.1_Nanopineo_bookworm_current_6.1.47

 

 

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
Reply to this topic...

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.