Page 1 of 1

Troubleshooting with nrf24l01 component

Posted: Sun May 05, 2013 11:31 pm
by jumo80
Hello,
I am trying to install the nrf24l01 component in raspberry (http://cgi.ebay.fr/ws/eBayISAPI.dll?Vie ... 1497.l2649). This component was tested with arduino and seems working correctly.

I am following this installation guide http://arduino-for-beginners.blogspot.f ... es-to.html but it's not working.

I am using Raspian, I commented out the blacklist entries for i2c and spi from /etc/modprobe.d/raspi-blacklist.conf i.e.

#blacklist spi-bcm2708
#blacklist i2c-bcm2708

Rebooted, and did a modprobe i2c-dev and spi-bcm2708.

pi@raspberrypi ~ $ ls -artl /dev/spi*
crw------- 1 root root 153, 1 Jan 1 1970 /dev/spidev0.1
crw------- 1 root root 153, 0 Jan 1 1970 /dev/spidev0.0
pi@raspberrypi ~ $ uname -a
Linux raspberrypi 3.6.11+ #434 PREEMPT Wed May 1 21:13:52 BST 2013 armv6l GNU/Linux

I launched pingtest and all the values seems to be incorrect:

pi@raspberrypi ~/RF24/librf24-rpi/librf24/examples $ sudo ./pingtest

RF24/examples/pingpair/
ROLE: Ping out
SPI device = /dev/spidev0.0
SPI speed = 8000000
CE GPIO = 25
STATUS = 0xff RX_DR=1 TX_DS=1 MAX_RT=1 RX_P_NO=7 TX_FULL=1
RX_ADDR_P0-1 = 0xffffffffff 0xffffffffff
RX_ADDR_P2-5 = 0xff 0x00 0x00 0x00
TX_ADDR = 0x0000000000
RX_PW_P0-6 = 0x00 0x43 0xff 0xff 0xff 0xff
EN_AA = 0xff
EN_RXADDR = 0xff
RF_CH = 0xff
RF_SETUP = 0xff
CONFIG = 0xff
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01
CRC Length = 16 bits
PA Power = PA_MAX
Now sending 1996832382...ok...Got response 4294967295, round-trip delay: 1996832401
Now sending 1996833403...ok...Got response 4294967295, round-trip delay: 1996833425
Now sending 1996834427...ok...Got response 4294967295, round-trip delay: 1996834444

I verified some times the connexion in GPIO and it's correct.
Do you have any idea?

Thanks.

P.S: sorry for my english, but I am french

Re: Troubleshooting with nrf24l01 component

Posted: Mon May 20, 2013 8:14 am
by NewPi
I am also looking forward to order these for wireless temp. sensor and while researching found this thread. Maybe this could be useful - http://www.raspberrypi.org/phpBB3/viewt ... 1&p=350040 to you, can you confirm.