The connection test sketch would have shown that.
It's buried around reply #18.
I used a slightly different variant
// (slightly changed) 18 Mar 2018 - simple program to verify connection between Arduino and nRF24L01+
// This program does NOT attempt any communication with another nRF24
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#include <printf.h>
#define CE_PIN 9
#define CSN_PIN 10
const byte thisSlaveAddress[5] = {'R', 'x', 'A', 'A', 'A'};
RF24 radio(CE_PIN, CSN_PIN);
char dataReceived[10]; // this must match dataToSend in the TX
bool newData = false;
void setup() {
Serial.begin(115200);
printf_begin();
Serial.println(F("CheckConnection Starting"));
Serial.println();
Serial.println(F("FIRST WITH THE DEFAULT ADDRESSES after power on"));
Serial.println(F(" Note that RF24 does NOT reset when Arduino resets - only when power is removed"));
Serial.println(F(" If the numbers are mostly 0x00 or 0xff it means that the Arduino is not"));
Serial.println(F(" communicating with the nRF24"));
Serial.println();
radio.begin();
radio.printPrettyDetails();
Serial.println();
Serial.println();
Serial.println(F("AND NOW WITH ADDRESS AAAxR 0x41 41 41 78 52 ON P1"));
Serial.println(F(" and 250KBPS data rate"));
Serial.println();
radio.openReadingPipe(1, thisSlaveAddress);
radio.setDataRate( RF24_250KBPS );
radio.printPrettyDetails();
Serial.println();
Serial.println();
}
void loop() {}
to generate the following output
CheckConnection Starting
FIRST WITH THE DEFAULT ADDRESSES after power on
Note that RF24 does NOT reset when Arduino resets - only when power is removed
If the numbers are mostly 0x00 or 0xff it means that the Arduino is not
communicating with the nRF24
SPI Frequency = 10 Mhz
Channel = 76 (~ 2476 MHz)
RF Data Rate = 1 MBPS
RF Power Amplifier = PA_MAX
RF Low Noise Amplifier = Enabled
CRC Length = 16 bits
Address Length = 5 bytes
Static Payload Length = 32 bytes
Auto Retry Delay = 1500 microseconds
Auto Retry Attempts = 15 maximum
Packets lost on
current channel = 0
Retry attempts made for
last transmission = 0
Multicast = Disabled
Custom ACK Payload = Disabled
Dynamic Payloads = Disabled
Auto Acknowledgment = Enabled
Primary Mode = TX
TX address = 0xe7e7e7e7e7
pipe 0 ( open ) bound = 0xe7e7e7e7e7
pipe 1 ( open ) bound = 0x4141417852
pipe 2 (closed) bound = 0xc3
pipe 3 (closed) bound = 0xc4
pipe 4 (closed) bound = 0xc5
pipe 5 (closed) bound = 0xc6
AND NOW WITH ADDRESS AAAxR 0x41 41 41 78 52 ON P1
and 250KBPS data rate
SPI Frequency = 10 Mhz
Channel = 76 (~ 2476 MHz)
RF Data Rate = 250 KBPS
RF Power Amplifier = PA_MAX
RF Low Noise Amplifier = Enabled
CRC Length = 16 bits
Address Length = 5 bytes
Static Payload Length = 32 bytes
Auto Retry Delay = 1500 microseconds
Auto Retry Attempts = 15 maximum
Packets lost on
current channel = 0
Retry attempts made for
last transmission = 0
Multicast = Disabled
Custom ACK Payload = Disabled
Dynamic Payloads = Disabled
Auto Acknowledgment = Enabled
Primary Mode = TX
TX address = 0xe7e7e7e7e7
pipe 0 ( open ) bound = 0xe7e7e7e7e7
pipe 1 ( open ) bound = 0x4141417852
pipe 2 (closed) bound = 0xc3
pipe 3 (closed) bound = 0xc4
pipe 4 (closed) bound = 0xc5
pipe 5 (closed) bound = 0xc6
The layout is better in the serial monitor.