Jump to content

Recommended Posts

Posted

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? 

Posted

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.

Posted

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 ;)

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines