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.

Rock Pi 4B - SPI nrf24L01

Featured Replies

Hello, i want to use a NRF24L01 on my Rock PI 4B. I found out that i cannot enable spidev0.0 because this is corresponding with the  network interface. 

 

Linux rockpi 5.4.32-rockchip64 #20.02.11 SMP PREEMPT Tue Apr 14 17:30:19 CEST 2020 aarch64 GNU/Linux
Linux version 5.4.32-rockchip64 (root@builder) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #20.02.11 SMP PREEMPT Tue Apr 14 17:30:19 CEST 2020

 

My armbianENV looks like this:

 

verbosity=1
overlay_prefix=rockchip
overlays=spi-add-cs1 spi-spidev
param_spidev_spi_bus=1
rootdev=UUID=3c50a1d1-71a5-4a0f-9899-099b17a1050b
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u


When i set param_spidev_spi_bus=0 then the board boots up without eth0 (no ethernet) when i use bus=1 then it works. 

 

My Problem is i want to use Mysensors, i get no errors but my NRF does not receive any signal. Has someone ever done this before? 

Did you ever get this working?

 

I'm facing sort of the same problems, that it is really difficult to the SPIDEV working on the Rock PI 4b.

try this but then with spi2 that spi port has no devices or flash conected to it

 

and watch your pin numbers look at the link with a mysensors example for a orangepi4 it dont differ much just the spi pin nr

 

spi 0 is the network chip

spi 1 is the flash ship

spi2 is free ;)

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.