NRF240L Connection issue

Hello All,

Im facing a strange issue i connected my NRF240L1+PA/LNA CE Pin to 7 and CSN pin to 8 of my Arduino UNO, but while i configure RF I have to assign CSN pin first and CE second,
but in docs should CE pin on first and CSN on second.

this is how my RF is working

// Instantiate RF24 class with CE and CSN values
RF24 radio(8, 7);

this is how explain in Document

// Instantiate RF24 class with CE and CSN values
RF24 radio(7, 8);

this is code which i used for testing

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

// Instantiate RF24 class with CE and CSN values
RF24 radio(8, 7);
// Address to devices comunicate each other (same in both)
const uint64_t pipe = 0xE8E8F0F0E1LL;
// A variable to hold some info
boolean info = false;

void setup() {
  // Setup serial output
  // Start RF
  // Setup the channel to work within, number 100
  // Open wite pipe

void loop() {
  // it changes every interval
  info = !info;

  if (info) {
    Serial.print("Sending positive... ");
  } else {
    Serial.print("Sending negative... ");

  // Send info over RF
  bool success = radio.write(&info, sizeof(boolean));

  if (success) {
  } else {

  // Wait 2 seconds and repeat

Clearly the source code is showing CE first then CS

RF24(uint16_t _cepin, uint16_t _cspin, uint32_t _spi_speed = RF24_SPI_SPEED);

May be you have a cheap knockoff and they got the printing wrong?

i have two version of this module one with antenna and other without antenna same behavior on both. these are Chinese of course, cross check pin with images from google

It would not be the first time things are wrongly labeled

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.