I have difficulty controlling nRF24L01+ on BeagleBone Black using Python.
I use this library https://github.com/jpbarraca/pynrf24
Here is my code: http://pastie.org/10836500
Here is output of printDetails:
STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0xe7e7e7e7e7 0xc2c2c2c2c2
RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR = 0xe7e7e7e7e7
RX_PW_P0-6 = 0x08 0x08 0x00 0x00 0x00 0x00
EN_AA = 0x3f
EN_RXADDR = 0x02
RF_CH = 0x60
RF_SETUP = 0x06
SETUP_AW = 0x03
OBSERVE_TX = 0x00
CONFIG = 0x0c
FIFO_STATUS = 0x11
DYNPD = 0x00
FEATURE = 0x00
Data Rate = 1MBPS
Model = nRF24l01+
CRC Length = 16 bits
PA Power = PA_MAX
For the other side, we use Arduino.
The problem is that:
- BeagleBone side cannot send to Arduino side, with error MAX_RT
- BeagleBone side can receive data from Arduino side, but now cannot receive.
Do you have any notice for me to make it work?
I connect nRF24L01+ to SPI0 port of BeagleBone, so it should not have conflict with HDMI.