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.

Board won't boot after enabling SPI interface

Featured Replies

Hello !

i'm trying to enable the SPI interface on a OrangePi4B board using Focal latest stable build, so I edit `/boot/armbianEnv.txt` to add these lines :

overlays=spi-spidev
param_spidev_spi_bus=0


But after rebooting, I'm unable to access to the board anymore (No IP address is assigned to the board by the DHCP server).

What's wrong ?
Is there any additionnal steps ?
 

FYI, I also tried to enable SPI using armbian-config tool but it doesn't work neither. As this tool doesn't even specify the `param_spidev_spi_bus` parameters which is required according to the overlay README.

Edited by Falcounet
add build info

Solved by thc013

  • Solution

overlays=spi-spidev
param_spidev_spi_bus=1

 

or

overlays=spi-spidev spi-add-cs1

param_spidev_spi_bus=1
param_spidev_spi_cs=0

 

spidev is 1

 

installed wiringop ?

 19 mosi          

 21 miso                        22 ce  (my configuration) (gpio pin 56 with wiringop)

 23 clk                           24 cs

 

so for example my spidev setting in nrf24

 

radio = RF24(56, 10)

 

and for exampe mysensors

 


 ./configure --spi-spidev-device=/dev/spidev1.0 --my-transport=rf24 --my-rf24-ce-pin=56 --my-rf24-cs-pin=42 --my-rf24-irq-pin=55

 

but there indeed a error in the dmesg for spi in 5.10.10 but it works tested with a nrf24 module

 

 

 

 

 

 

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.