I want to add a NRF24L01 to my RPI 2 in order to communicate with an arduino.
I followed the instructions from http://hack.lenotta.com/arduino-raspber ... h-nrf24l01 but it gets stuck when i run:
Code: Select all
sudo ./remote -m 81
Preparing interface
I did rpi-update a few minutes ago so my kernel version is 3.18.6-v7.
Code: Select all
Linux version 3.18.6-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #753 SMP PREEMPT Sun Feb 8 14:53:56 GMT 2015
( i will add only the end of the file because everything else is commented)
Code: Select all
...
dtparam=spi=on
dtparam=i2c_arm=on
dtoverlay=w1-gpio,gpiopin=4
Code: Select all
Module Size Used by
i2c_dev 6027 0
snd_bcm2835 18850 0
snd_pcm 75388 1 snd_bcm2835
snd_seq 53078 0
snd_seq_device 5628 1 snd_seq
snd_timer 17784 2 snd_pcm,snd_seq
snd 51667 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
evdev 9950 2
joydev 8903 0
w1_therm 2559 0
spi_bcm2708 5153 0
i2c_bcm2708 4990 0
w1_gpio 3680 0
wire 25704 2 w1_gpio,w1_therm
cn 4636 1 wire
uio_pdrv_genirq 2958 0
uio 8119 1 uio_pdrv_genirq
Could it be a problem with RF24 library on RPI2. Did anyone managed to add a NRF24 module to rpi2?



Sorry for the long post.
Thank you.
PS: I tried also with the python3 (Cython) wrapper over the RF24 library: https://github.com/jonathongrigg/rf24
here i get the following error:
Code: Select all
can't send spi message: Invalid argument