Falcounet Posted January 25, 2021 Share Posted January 25, 2021 (edited) 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 January 25, 2021 by Falcounet add build info 0 Quote Link to comment Share on other sites More sharing options...
thc013 Posted January 25, 2021 Share Posted January 25, 2021 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 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.