<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22083/want-nrf24l01-communication-with-nrf51822</link><description>hello,will you please tell me which code i have to use in the sdk 12.2.0 for rf communication with nrf51822 and nrf24l01 .and also tell me which settings i have to do for nrf24l01 side as a transmitter.so that i can receive data on nrf51822 side.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Jun 2017 08:12:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22083/want-nrf24l01-communication-with-nrf51822" /><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86745?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 08:12:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:783e4bfe-e825-4afd-957a-2d5596439791</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Pallavi&lt;/p&gt;
&lt;p&gt;I am glad to hear it. The best of luck with your project :)&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86746?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 07:18:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6a1402e-3a8f-4f27-9518-e996ee56832c</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;hello sir,&lt;/p&gt;
&lt;p&gt;This is the working code.finally it is working thank you for your help.now i can do the further developments on it.Again thank you.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86748?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 13:58:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4e44028-af42-424a-b865-af380f4f3872</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Pallavi&lt;/p&gt;
&lt;p&gt;I finally got my Arduino Uno board running, and hooked it up to an nRF24L01 module.&lt;br /&gt;
For the longest time I couldn&amp;#39;t get it to work, until I realized (by scoping the SPI lines) that the radio.write(..) function sends a 32 byte payload, regardless of what you set the length value to be. Apparently this is intended (the documentation mentions it), but it is a bit unusual.&lt;br /&gt;
Once I corrected that I had no issues getting the Arduino + nRF24L01 to transmit to the nRF51822, by using a stripped down version of one of the radio examples.&lt;/p&gt;
&lt;p&gt;Arduino side:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#include &amp;lt;SPI.h&amp;gt;
#include &amp;quot;RF24.h&amp;quot;

/* Hardware configuration: Set up nRF24L01 radio on SPI bus plus pins 7 &amp;amp; 8 */
RF24 radio(7,8);
/**********************************************************/

byte address[] = {0xE7,0xE7,0xE7,0xE7,0xE7,0};

// Function that printf and related will use to print
int serial_putchar(char c, FILE* f) {
   if (c == &amp;#39;\n&amp;#39;) serial_putchar(&amp;#39;\r&amp;#39;, f);
   return Serial.write(c) == 1? 0 : 1;
}

FILE serial_stdout;

void setup() {
  Serial.begin(115200);

       // Set up stdout
  fdev_setup_stream(&amp;amp;serial_stdout, serial_putchar, NULL, _FDEV_SETUP_WRITE);
  stdout = &amp;amp;serial_stdout;
  
  Serial.println(F(&amp;quot;RF24/examples/GettingStarted&amp;quot;));
  Serial.println(F(&amp;quot;*** PRESS &amp;#39;T&amp;#39; to begin transmitting to the other node&amp;quot;));
  
  radio.begin();

  // Set the PA Level low to prevent power supply related issues since this is a
 // getting_started sketch, and the likelihood of close proximity of the devices. RF24_PA_MAX is default.
  radio.setPALevel(RF24_PA_LOW);
  
  radio.openWritingPipe(address);
  radio.openReadingPipe(0,address);

  radio.printDetails();
}

void loop() {
  Serial.println(F(&amp;quot;Now sending&amp;quot;));
  
  unsigned long start_time = micros();                             // Take the time, and send it.  This will block until complete
  if (!radio.write( &amp;amp;start_time, sizeof(unsigned long))){
    Serial.println(F(&amp;quot;failed&amp;quot;));
  }
  
  // Try again 1s later
  delay(1000);
} // Loop
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;nRF51822 ESB init:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint32_t esb_init( void )
{
    uint32_t err_code;
    uint8_t base_addr_0[4] = {0xE7, 0xE7, 0xE7, 0xE7};
    uint8_t base_addr_1[4] = {0xC2, 0xC2, 0xC2, 0xC2};
    uint8_t addr_prefix[8] = {0xE7, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8 };
    nrf_esb_config_t nrf_esb_config         = NRF_ESB_DEFAULT_CONFIG;
    nrf_esb_config.payload_length           = 32;
    nrf_esb_config.protocol                 = NRF_ESB_PROTOCOL_ESB;
    nrf_esb_config.bitrate                  = NRF_ESB_BITRATE_1MBPS;
    nrf_esb_config.crc                      = NRF_ESB_CRC_16BIT;
    nrf_esb_config.mode                     = NRF_ESB_MODE_PRX;
    nrf_esb_config.event_handler            = nrf_esb_event_handler;
    nrf_esb_config.selective_auto_ack       = false;

    err_code = nrf_esb_init(&amp;amp;nrf_esb_config);
    VERIFY_SUCCESS(err_code);

    err_code = nrf_esb_set_base_address_0(base_addr_0);
    VERIFY_SUCCESS(err_code);

    err_code = nrf_esb_set_base_address_1(base_addr_1);
    VERIFY_SUCCESS(err_code);
    
    err_code = nrf_esb_set_prefixes(addr_prefix, 8);
    VERIFY_SUCCESS(err_code);

    err_code = nrf_esb_set_rf_channel(76);
    VERIFY_SUCCESS(err_code);
    
    return err_code;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In other words, the critical aspect for me was to set the payload_length to 32 on the nRF51 side.&lt;/p&gt;
&lt;p&gt;Can you try those settings and see if it also works for you?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86743?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2017 12:52:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac06465c-6081-4f84-b4c6-6735ab5b982a</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;hello sir,
i have also tried with your configurations i.e address 0xe7e7e7 and enabling dynamic payload length,
it works fine with both the arduino+nrf24l01.
but will not work with nrf51822.the code i have used on nrf51822 side is esb_prx from the pro[pritary_rf folder:&lt;/p&gt;
&lt;p&gt;Transmitter code is,&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#include &amp;lt;SPI.h&amp;gt;
#include &amp;lt;nRF24L01.h&amp;gt;
#include &amp;lt;RF24.h&amp;gt;
#include &amp;quot;printf.h&amp;quot;  
#define CE 18
#define CSN 19
RF24 radio(CE, CSN);


int x=0;
//const byte rxAddr[6] = &amp;quot;00001&amp;quot;;
const byte txAddr[5] = {0xE7,0xE7,0xE7,0xE7,0xE7};
char values;
void setup()
{
  Serial.begin(9600);
    printf_begin();

  radio.begin();
 //radio.setPALevel(RF24_PA_MAX);
  radio.setDataRate(RF24_2MBPS);
 // radio.setChannel(7);
//  radio.setRetries(15,15);
 radio.setCRCLength(RF24_CRC_16);
//radio.enableAckPayload();
radio.enableDynamicPayloads();
radio.openWritingPipe(txAddr);
radio.stopListening();
}

void loop()
{
values = &amp;#39;A&amp;#39;;
         radio.write(&amp;amp;values,1);
         Serial.print(&amp;quot;####### Data Transmitted :&amp;quot;);
    Serial.print(values);
    Serial.println(&amp;quot; #######&amp;quot;);
         radio.printDetails() ;
         delay(2000);

}

transmitter print details are:


.####### Data Transmitted :A #######
.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. = 0x20 0x00 0x00 0x00 0x00 0x00
.EN_AA.. = 0x3f
.EN_RXADDR. = 0x03
.RF_CH.. = 0x4c
.RF_SETUP. = 0x0f
.CONFIG.. = 0x0e
.DYNPD/FEATURE. = 0x3f 0x04
.Data Rate. = 2MBPS
.Model.. = nRF24L01+
.CRC Length. = 16 bits
.PA Power. = PA_MAX


the receiver code is,

#include &amp;lt;SPI.h&amp;gt;
#include &amp;lt;nRF24L01.h&amp;gt;
#include &amp;lt;RF24.h&amp;gt;
#include &amp;quot;printf.h&amp;quot;  
#define CE 18
#define CSN 19
RF24 radio(CE, CSN);


int x=0;
//const byte rxAddr[6] = &amp;quot;00001&amp;quot;;
const byte rxAddr[5] = {0xE7,0xE7,0xE7,0xE7,0xE7};
char values;
void setup()
{
  Serial.begin(9600);
    printf_begin();

  radio.begin();
 //radio.setPALevel(RF24_PA_MAX);
  radio.setDataRate(RF24_2MBPS);
 // radio.setChannel(7);
//  radio.setRetries(15,15);
 radio.setCRCLength(RF24_CRC_16);
//radio.enableAckPayload();
radio.enableDynamicPayloads();
 radio.openReadingPipe(0, rxAddr);
  radio.startListening();
}

void loop()
{
 char text;
    radio.read(&amp;amp;text, 1);
    Serial.print(&amp;quot;####### Data Received :&amp;quot;);
    Serial.print(text);
    Serial.println(&amp;quot; #######&amp;quot;);
    radio.printDetails() ;
}

print detauils of receiver are as

####### Data Received :A #######
.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. = 0x20 0x00 0x00 0x00 0x00 0x00
.EN_AA.. = 0x3f
.EN_RXADDR. = 0x03
.RF_CH.. = 0x4c
.RF_SETUP. = 0x0f
.CONFIG.. = 0x0f
.DYNPD/FEATURE. = 0x3f 0x04
.Data Rate. = 2MBPS
.Model.. = nRF24L01+
.CRC Length. = 16 bits
.PA Power. = PA_MAX
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;sir please go through this and match the settings now with your code and because i had changed my address anabled dynamic payload. after that it doesnt work.&lt;/p&gt;
&lt;p&gt;and  the code i previously given that code i am trying to compatible it with code from the peripheral folder the code is radio.thats why you told that it is bit different but now i have posted both the codes go please refer these codes and tell me actually what is going wrong with nrf51822.both codes i.e radio and esb_prx for nrf51822 is not working.and if you had done this then can you share the code with me i.e code from arduino side and code from nrf51822 side. i dont have any issue with the specification .my intension is just that to make communication between nrf51822 and arduino+nrf24l01.&lt;/p&gt;
&lt;p&gt;waiting for your reply.&lt;/p&gt;
&lt;p&gt;Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86752?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2017 06:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87a1b918-2783-475b-9a22-e2bd26430290</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Pallavi&lt;/p&gt;
&lt;p&gt;I still don&amp;#39;t understand why you couldn&amp;#39;t get it to work with dynamic payload length enabled. I have been able to do that with both an nRF24L01+ and an nRF24L01 module, without any issues (the main difference is I used address 0xE7E7E7E7E7).&lt;/p&gt;
&lt;p&gt;That being said, I do see an issue when using the configuration you included above (dynamic payload length disabled). In this mode I see that the nRF51 receives the packet in the debugger, but for some reason the CRC fails and the packet is discarded.&lt;/p&gt;
&lt;p&gt;I will have to do some more research to figure out why the packet is discarded in this case, and I will get back to you when I know more.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86750?ContentTypeID=1</link><pubDate>Sat, 24 Jun 2017 07:16:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f2bfb29-2c2b-44ac-8d3a-633714d9e0e0</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;This is working since you can see we have sent A and received A on receiver end.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86751?ContentTypeID=1</link><pubDate>Sat, 24 Jun 2017 07:14:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b19f678-7f9f-4788-838b-816566abbbce</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;Hello sir,&lt;/p&gt;
&lt;p&gt;Print details for the following
Receiver Code :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    #include &amp;lt;SPI.h&amp;gt;
    #include &amp;quot;printf.h&amp;quot;

    #include &amp;lt;nRF24L01.h&amp;gt;
    #include &amp;lt;RF24.h&amp;gt;
#define CE 18
#define CSN 19
RF24 radio(CE, CSN);
unsigned char values;
const byte rxAddr[5] = {0xC0,0x01,0x23,0x45,0x67};

void setup()
{
  Serial.begin(9600);
  printf_begin();
  radio.begin();
  radio.setPALevel(RF24_PA_MAX);
  radio.setDataRate(RF24_1MBPS);
  radio.setChannel(7);
  radio.openReadingPipe(0, rxAddr);
  radio.startListening();
}

void loop()
{
  if (radio.available())
  {
    char text;
    radio.read(&amp;amp;text, 1);
    Serial.print(&amp;quot;####### Data Received :&amp;quot;);
    Serial.print(text);
    Serial.println(&amp;quot; #######&amp;quot;);
    radio.printDetails() ;
  }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Receiver Prints:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;####### Data Received :A #######
STATUS		 = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1	 = 0x67452301c0 0xc2c2c2c2c2
RX_ADDR_P2-5	 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR		 = 0xe7e7e7e7e7
RX_PW_P0-6	 = 0x01 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x3f
EN_RXADDR	 = 0x03
RF_CH		 = 0x07
RF_SETUP	 = 0x07
CONFIG		 = 0x0f
DYNPD/FEATURE	 = 0x00 0x00
Data Rate	 = 1MBPS
Model		 = nRF24L01+
CRC Length	 = 16 bits
PA Power	 = PA_MAX
####### Data Received :A #######
STATUS		 = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1	 = 0x67452301c0 0xc2c2c2c2c2
RX_ADDR_P2-5	 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR		 = 0xe7e7e7e7e7
RX_PW_P0-6	 = 0x01 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x3f
EN_RXADDR	 = 0x03
RF_CH		 = 0x07
RF_SETUP	 = 0x07
CONFIG		 = 0x0f
DYNPD/FEATURE	 = 0x00 0x00
Data Rate	 = 1MBPS
Model		 = nRF24L01+
CRC Length	 = 16 bits
PA Power	 = PA_MAX
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Transmitter Code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; #include &amp;lt;SPI.h&amp;gt;
    #include &amp;quot;printf.h&amp;quot;

    #include &amp;lt;nRF24L01.h&amp;gt;
    #include &amp;lt;RF24.h&amp;gt;
    #define CE 18
    #define CSN 19
    RF24 radio(CE, CSN);
    char values;
    const byte rxAddr[5] = {0xC0,0x01,0x23,0x45,0x67};

    void setup()
    {
      Serial.begin(9600);
      printf_begin();
      radio.begin();
      radio.setPALevel(RF24_PA_MAX);
      radio.setDataRate(RF24_1MBPS);
      radio.setChannel(7);
      radio.openWritingPipe(rxAddr);
      radio.stopListening();

    }

void loop()
{
  values = &amp;#39;A&amp;#39;;
         radio.write(&amp;amp;values,1);
         Serial.print(&amp;quot;####### Data Transmitted :&amp;quot;);
    Serial.print(values);
    Serial.println(&amp;quot; #######&amp;quot;);
         radio.printDetails() ;
         delay(2000);
      }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Transmitter Prints:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;####### Data Transmitted :A #######
STATUS		 = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1	 = 0x67452301c0 0xc2c2c2c2c2
RX_ADDR_P2-5	 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR		 = 0x67452301c0
RX_PW_P0-6	 = 0x01 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x3f
EN_RXADDR	 = 0x03
RF_CH		 = 0x07
RF_SETUP	 = 0x07
CONFIG		 = 0x0e
DYNPD/FEATURE	 = 0x00 0x00
Data Rate	 = 1MBPS
Model		 = nRF24L01+
CRC Length	 = 16 bits
PA Power	 = PA_MAX
####### Data Transmitted :A #######
STATUS		 = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1	 = 0x67452301c0 0xc2c2c2c2c2
RX_ADDR_P2-5	 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR		 = 0x67452301c0
RX_PW_P0-6	 = 0x01 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x3f
EN_RXADDR	 = 0x03
RF_CH		 = 0x07
RF_SETUP	 = 0x07
CONFIG		 = 0x0e
DYNPD/FEATURE	 = 0x00 0x00
Data Rate	 = 1MBPS
Model		 = nRF24L01+
CRC Length	 = 16 bits
PA Power	 = PA_MAX
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Hope this will help, sir please help i am unable to communicate with nrf51 for along.&lt;/p&gt;
&lt;p&gt;Thanks and Regards
Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86749?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2017 12:57:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac8cb4ad-e4b5-415c-b6aa-c1ece5f80987</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;It seems the code has changed a bit since we started this discussion. Can you send me the latest result when calling the printDetails() function?
Then I can try to configure an nRF24L01+ module on my end, and see how to make the nRF51 code compatible.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86741?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2017 13:46:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c158406-9cdf-4efe-802d-d169179725b3</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;Hello Sir,&lt;/p&gt;
&lt;p&gt;My intention is to run a simple transmitter and receiver between NRF51822 and Arduino Uno +NRF24L01.&lt;/p&gt;
&lt;p&gt;Please see below working code for a Transmitter and Receiver both using Arduino Uno + NRF24L01
Library for NRF24L01 (&lt;a href="http://tmrh20.github.io/RF24/)"&gt;http://tmrh20.github.io/RF24/)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pin Configuration:
NRF24 Arduino
1	GND	GND
2	VCC	VCC
3	CE	Analog 4
4	CSN	Analog 5
5	SCK	digIO 13
6	MOSI	digIO 11
7	MISO	digIO 12&lt;/p&gt;
&lt;p&gt;Transmitter Code with its Configurations&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    #include &amp;lt;SPI.h&amp;gt;
    #include &amp;lt;nRF24L01.h&amp;gt;
    #include &amp;lt;RF24.h&amp;gt;
    #define CE 18
    #define CSN 19
    RF24 radio(CE, CSN);
    unsigned char values;
    const byte rxAddr[5] = {0xC0,0x01,0x23,0x45,0x67};
    
    void setup()
    {
      Serial.begin(9600);
      radio.begin();
      radio.setPALevel(RF24_PA_MAX);
      radio.setDataRate(RF24_1MBPS);
      radio.setChannel(7);
      radio.openWritingPipe(rxAddr);
      radio.stopListening();
    
    }

void loop()
{
         values = 0x10;
         radio.write(&amp;amp;values,1);
         delay(2000);
      //  Serial.print(value);  //prints the character just read
 }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Receiver Code with its Configurations&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#include &amp;lt;SPI.h&amp;gt;
#include &amp;lt;nRF24L01.h&amp;gt;
#include &amp;lt;RF24.h&amp;gt;
#define CE 18
#define CSN 19
RF24 radio(CE, CSN);
unsigned char values;
const byte rxAddr[5] = {0xC0,0x01,0x23,0x45,0x67};

void setup()
{
  Serial.begin(9600);
  radio.begin();
  radio.setPALevel(RF24_PA_MAX);
  radio.setDataRate(RF24_1MBPS);
  radio.setChannel(7);
  radio.openReadingPipe(0, rxAddr);
  radio.startListening();
}

void loop()
{
  if (radio.available())
  {
    char text;
    radio.read(&amp;amp;text, 1);
    Serial.print(text);
  }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Please suggest whats should i do with respect to NRF51822 to work with these transmitter and receiver code respectively. We have been discussing all for so long but haven&amp;#39;t come to a conclusion. So can you help me in code with simple configuration mentioned in the code above and run transmitter and receiver successfully.&lt;/p&gt;
&lt;p&gt;Regards
Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86742?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2017 13:43:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6a62c5b-fcf5-4fe4-b69b-2740922380d4</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;Hello Sir,&lt;/p&gt;
&lt;p&gt;My intention is to run a simple transmitter and receiver between NRF51822 and Arduino Uno +NRF24L01.&lt;/p&gt;
&lt;p&gt;Please see below working code for a Transmitter and Receiver both using Arduino Uno + NRF24L01
Library for NRF24L01 (&lt;a href="http://tmrh20.github.io/RF24/)"&gt;http://tmrh20.github.io/RF24/)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pin Configuration:
NRF24 Arduino
1	GND	GND
2	VCC	VCC
3	CE	Analog 4
4	CSN	Analog 5
5	SCK	digIO 13
6	MOSI	digIO 11
7	MISO	digIO 12&lt;/p&gt;
&lt;p&gt;Transmitter Code with its Configurations&lt;/p&gt;
&lt;p&gt;#include &amp;lt;SPI.h&amp;gt;
#include &amp;lt;nRF24L01.h&amp;gt;
#include &amp;lt;RF24.h&amp;gt;
#define CE 18
#define CSN 19
RF24 radio(CE, CSN);
unsigned char values;
const byte rxAddr[5] = {0xC0,0x01,0x23,0x45,0x67};&lt;/p&gt;
&lt;p&gt;void setup()
{
Serial.begin(9600);
radio.begin();
radio.setPALevel(RF24_PA_MAX);
radio.setDataRate(RF24_1MBPS);
radio.setChannel(7);
radio.openWritingPipe(rxAddr);
radio.stopListening();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;void loop()
{
values = 0x10;
radio.write(&amp;amp;values,1);
delay(2000);
//  Serial.print(value);  //prints the character just read
}&lt;/p&gt;
&lt;p&gt;Receiver Code with its Configurations&lt;/p&gt;
&lt;p&gt;#include &amp;lt;SPI.h&amp;gt;
#include &amp;lt;nRF24L01.h&amp;gt;
#include &amp;lt;RF24.h&amp;gt;
#define CE 18
#define CSN 19
RF24 radio(CE, CSN);
unsigned char values;
const byte rxAddr[5] = {0xC0,0x01,0x23,0x45,0x67};&lt;/p&gt;
&lt;p&gt;void setup()
{
Serial.begin(9600);
radio.begin();
radio.setPALevel(RF24_PA_MAX);
radio.setDataRate(RF24_1MBPS);
radio.setChannel(7);
radio.openReadingPipe(0, rxAddr);
radio.startListening();
}&lt;/p&gt;
&lt;p&gt;void loop()
{
if (radio.available())
{
char text;
radio.read(&amp;amp;text, 1);
Serial.print(text);
}
}&lt;/p&gt;
&lt;p&gt;Please suggest whats should i do with respect to NRF51822 to work with these transmitter and receiver code respectively. We have been discussing all for so long but haven&amp;#39;t come to a conclusion. So can you help me in code with simple configuration mentioned in the code above and run transmitter and receiver successfully.&lt;/p&gt;
&lt;p&gt;Regards
Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86740?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2017 11:19:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7df03d6f-ca20-4d52-8056-c08c65534b86</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Pallavi&lt;br /&gt;
Could you send me a link to the type of module you are using?&lt;br /&gt;
In general I would strongly recommend using the nRF24L01+. The price should be the same, and it comes with some improvements over the nRF24L01 that are useful to have.&lt;/p&gt;
&lt;p&gt;With the nRF24L01 you have to run a special command called ACTIVATE to enable the use of features such as dynamic payload length, dynamic ACK, and ACK payload.
This command has to be run before you turn on these features (through the DYNPD and FEATURE registers).&lt;/p&gt;
&lt;p&gt;Could you try to include the following function in the code I sent you, and call it before you configure the other registers?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void hal_nrf_activate()
{
    uint8_t spi_tx_data[2];
    uint8_t spi_rx_data[2];

    CSN_LOW();
    spi_tx_data[0] = 0x50;
    spi_tx_data[1] = 0x73;
    nrf_drv_spi_transfer(&amp;amp;m_current_l01_instance-&amp;gt;spi_instance, spi_tx_data, 2, spi_rx_data, 2);
    CSN_HIGH();
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Best regards&lt;br /&gt;
Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86744?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 09:27:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e0fc1f8-a0e5-4e89-a6e5-2154214831eb</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;hello sir ,
this is working code.now it is compiled.previously i have added wrong file thats why its not compiled but now it is compiled but i am not receing data on other side.i aqm using nrf24l01 module.i am not using nrf24l01+
Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86747?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 08:22:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f37a59b-da50-4d7a-83d3-253a841ed171</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;hello sir,
i have compiled your code in C:\nRF5_SDK_12.2.0_f012efa\examples\proprietary_rf\l01_test_app\esb_ptx\pca10028\blank\arm5_no_packs folder but it is showing errors.and you told that you have compiled this code in the nrf51 DK.but in my case it is not getting compiled.will you please tell me the path i have followed to locate this code right or wrong.if wrong path then may be it is showing that errors the errors are as,&lt;/p&gt;
&lt;p&gt;..............\components\drivers_nrf\uart\nrf_drv_uart.c: 13 warnings, 30 errors
compiling app_uart_fifo.c...
compiling retarget.c...
compiling app_fifo.c...
compiling app_error.c...
compiling app_error_weak.c...
..............\components\libraries\log\src\nrf_log_ctrl_internal.h(26): error:  #260-D: explicit type is missing (&amp;quot;int&amp;quot; assumed)
nrf_log_init(timestamp_func)
..............\components\libraries\log\src\nrf_log_ctrl_internal.h(26): warning:  #1294-D: Old-style function nrf_log_init
nrf_log_init(timestamp_func)
..............\components\libraries\log\nrf_log_ctrl.h(35): warning:  #99-D: a declaration here must declare a parameter
typedef uint32_t (*nrf_log_timestamp_func_t)(void);
..............\components\libraries\log\nrf_log_ctrl.h(35): warning:  #231-D: declaration is not visible outside of function
typedef uint32_t (*nrf_log_timestamp_func_t)(void);
..............\components\libraries\log\nrf_log_ctrl.h(99): warning:  #99-D: a declaration here must declare a parameter
typedef bool (*nrf_log_std_handler_t)(
..............\components\libraries\log\nrf_log_ctrl.h(99): warning:  #231-D: declaration is not visible outside of function
typedef bool (*nrf_log_std_handler_t)(
..............\components\libraries\log\nrf_log_ctrl.h(125): warning:  #99-D: a declaration here must declare a parameter
typedef uint32_t (*nrf_log_hexdump_handler_t)(
..............\components\libraries\log\nrf_log_ctrl.h(125): warning:  #231-D: declaration is not visible outside of function
typedef uint32_t (*nrf_log_hexdump_handler_t)(
..............\components\libraries\log\nrf_log_ctrl.h(148): error:  #99: a declaration here must declare a parameter
ret_code_t nrf_log_init(nrf_log_timestamp_func_t timestamp_func);
..............\components\libraries\log\nrf_log_ctrl.h(153): error:  #99: a declaration here must declare a parameter
ret_code_t nrf_log_blocking_backend_set(void);
..............\components\libraries\log\nrf_log_ctrl.h(169): error:  #99: a declaration here must declare a parameter
void nrf_log_frontend_init(nrf_log_std_handler_t     std_handler,
..............\components\libraries\log\nrf_log_ctrl.h(182): error:  #99: a declaration here must declare a parameter
void nrf_log_handlers_set(nrf_log_std_handler_t     std_handler,
..............\components\libraries\log\nrf_log_ctrl.h(194): error:  #99: a declaration here must declare a parameter&lt;/p&gt;
&lt;p&gt;ool nrf_log_frontend_dequeue(void);
..............\components\libraries\util\app_error_weak.c(24): warning:  #85-D: invalid storage class for a parameter&lt;/p&gt;
&lt;p&gt;_WEAK void app_error_fault_handler(uint32_t id, uint32_t pc, uint32_t info)
..............\components\libraries\util\app_error_weak.c(24): error:  #99: a declaration here must declare a parameter
__WEAK void app_error_fault_handler(uint32_t id, uint32_t pc, uint32_t info)
..............\components\libraries\util\app_error_weak.c(25): error:  #65: expected a &amp;quot;;&amp;quot;
{
..............\components\libraries\util\app_error_weak.c(38): warning: At end of source:  #12-D: parsing restarts here after previous syntax error
..............\components\libraries\log\src\nrf_log_ctrl_internal.h(26): warning:  #1079-D: standard requires that parameter &amp;quot;timestamp_func&amp;quot; be given a type by a subsequent declaration (&amp;quot;int&amp;quot; assumed)
nrf_log_init(timestamp_func)
..............\components\libraries\util\app_error_weak.c(38): error: At end of source:  #130: expected a &amp;quot;{&amp;quot;
..............\components\libraries\util\app_error_weak.c(38): error: At end of source:  #67: expected a &amp;quot;}&amp;quot;
..............\components\libraries\util\app_error_weak.c: 10 warnings, 10 errors
compiling app_util_platform.c...
compiling nrf_log_backend_serial.c...
..............\components\libraries\log\src\nrf_log_ctrl_internal.h(26): error:  #260-D: explicit type is missing (&amp;quot;int&amp;quot; assumed)
nrf_log_init(timestamp_func)
..............\components\libraries\log\src\nrf_log_ctrl_internal.h(26): warning:  #1294-D: Old-style function nrf_log_init
nrf_log_init(timestamp_func)
..............\components\libraries\log\nrf_log_ctrl.h(35): warning:  #99-D: a declaration here must declare a parameter
typedef uint32_t (*nrf_log_timestamp_func_t)(void);
..............\components\libraries\log\nrf_log_ctrl.h(35): warning:  #231-D: declaration is not visible outside of function
typedef uint32_t (*nrf_log_timestamp_func_t)(void);
..............\components\libraries\log\nrf_log_ctrl.h(99): warning:  #99-D: a declaration here must declare a parameter
typedef bool (*nrf_log_std_handler_t)(
..............\components\libraries\log\nrf_log_ctrl.h(99): warning:  #231-D: declaration is not visible outside of function
typedef bool (*nrf_log_std_handler_t)(
..............\components\libraries\log\nrf_log_ctrl.h(125): warning:  #99-D: a declaration here must declare a parameter
typedef uint32_t (*nrf_log_hexdump_handler_t)(
..............\components\libraries\log\nrf_log_ctrl.h(125): warning:  #231-D: declaration is not visible outside of function
typedef uint32_t (*nrf_log_hexdump_handler_t)(
..............\components\libraries\log\nrf_log_ctrl.h(148): error:  #99: a declaration here must declare a parameter
ret_code_t nrf_log_init(nrf_log_timestamp_func_t timestamp_func);
..............\components\libraries\log\nrf_log_ctrl.h(153): error:  #99: a declaration here must declare a parameter
ret_code_t nrf_log_blocking_backend_set(void);
..............\components\libraries\log\nrf_log_ctrl.h(169): error:  #99: a declaration here must declare a parameter
void nrf_log_frontend_init(nrf_log_std_handler_t     std_handler,
..............\components\libraries\log\nrf_log_ctrl.h(182): error:  #99: a declaration here must declare a parameter
void nrf_log_handlers_set(nrf_log_std_handler_t     std_handler,
..............\components\libraries\log\nrf_log_ctrl.h(194): error:  #99: a declaration here must declare a parameter&lt;/p&gt;
&lt;p&gt;ool nrf_log_frontend_dequeue(void);
..............\components\libraries\log\nrf_log_backend.h(38): error:  #99: a declaration here must declare a parameter
ret_code_t nrf_log_backend_init(
ool blocking);
..............\components\libraries\log\nrf_log_backend.h(46): error:  #99: a declaration here must declare a parameter
nrf_log_std_handler_t nrf_log_backend_std_handler_get(void);
..............\components\libraries\log\nrf_log_backend.h(54): error:  #99: a declaration here must declare a parameter
nrf_log_hexdump_handler_t nrf_log_backend_hexdump_handler_get(void);
..............\components\libraries\log\nrf_log_backend.h(61): error:  #99: a declaration here must declare a parameter
uint8_t nrf_log_backend_getchar(void);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(134): error:  #85: invalid storage class for a parameter
extern
ARMABI_PURE unsigned char **__rt_ctype_table(void);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(134): error:  #99: a declaration here must declare a parameter
extern
ARMABI_PURE unsigned char **__rt_ctype_table(void);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(134): error:  #3108: attribute &amp;quot;__nothrow&amp;quot; does not apply here
extern
ARMABI_PURE unsigned char **__rt_ctype_table(void);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(142): error:  #85: invalid storage class for a parameter
extern int (isalnum)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(142): error:  #99: a declaration here must declare a parameter
extern int (isalnum)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(150): error:  #85: invalid storage class for a parameter
extern int (isalpha)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(150): error:  #99: a declaration here must declare a parameter
extern int (isalpha)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(158): error:  #85: invalid storage class for a parameter
extern int (iscntrl)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(158): error:  #99: a declaration here must declare a parameter
extern int (iscntrl)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(168): error:  #85: invalid storage class for a parameter
extern int (isdigit)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(168): error:  #99: a declaration here must declare a parameter
extern int (isdigit)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(172): error:  #85: invalid storage class for a parameter
extern int (isblank)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(172): error:  #99: a declaration here must declare a parameter
extern int (isblank)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(181): error:  #85: invalid storage class for a parameter
extern int (isgraph)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(181): error:  #99: a declaration here must declare a parameter
extern int (isgraph)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(189): error:  #85: invalid storage class for a parameter
extern int (islower)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(189): error:  #99: a declaration here must declare a parameter
extern int (islower)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(197): error:  #85: invalid storage class for a parameter
extern int (isprint)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(197): error:  #99: a declaration here must declare a parameter
extern int (isprint)(int /&lt;em&gt;c&lt;/em&gt;/);
C:\Keil_v5\ARM\ARMCC\Bin..\include\ctype.h(206): error:  #85: invalid storage class for a parameter
extern int (ispunct)(int /&lt;em&gt;c&lt;/em&gt;/);
..............\components\libraries\log\src\nrf_log_backend_serial.c: 7 warnings, 30 errors
compiling nrf_log_frontend.c...
..............\components\libraries\log\src\nrf_log_ctrl_internal.h(26): error:  #260-D: explicit type is missing (&amp;quot;int&amp;quot; assumed)
nrf_log_init(timestamp_func)
..............\components\libraries\log\src\nrf_log_ctrl_internal.h(26): warning:  #1294-D: Old-style function nrf_log_init
nrf_log_init(timestamp_func)
..............\components\libraries\log\nrf_log_ctrl.h(35): warning:  #99-D: a declaration here must declare a parameter
typedef uint32_t (*nrf_log_timestamp_func_t)(void);
..............\components\libraries\log\nrf_log_ctrl.h(35): warning:  #231-D: declaration is not visible outside of function
typedef uint32_t (*nrf_log_timestamp_func_t)(void);
..............\components\libraries\log\nrf_log_ctrl.h(99): warning:  #99-D: a declaration here must declare a parameter
typedef bool (*nrf_log_std_handler_t)(
..............\components\libraries\log\nrf_log_ctrl.h(99): warning:  #231-D: declaration is not visible outside of function
typedef bool (*nrf_log_std_handler_t)(
..............\components\libraries\log\nrf_log_ctrl.h(125): warning:  #99-D: a declaration here must declare a parameter
typedef uint32_t (*nrf_log_hexdump_handler_t)(
..............\components\libraries\log\nrf_log_ctrl.h(125): warning:  #231-D: declaration is not visible outside of function
typedef uint32_t (*nrf_log_hexdump_handler_t)(
..............\components\libraries\log\nrf_log_ctrl.h(148): error:  #99: a declaration here must declare a parameter
ret_code_t nrf_log_init(nrf_log_timestamp_func_t timestamp_func);
..............\components\libraries\log\nrf_log_ctrl.h(153): error:  #99: a declaration here must declare a parameter
ret_code_t nrf_log_blocking_backend_set(void);
..............\components\libraries\log\nrf_log_ctrl.h(169): error:  #99: a declaration here must declare a parameter
void nrf_log_frontend_init(nrf_log_std_handler_t     std_handler,
..............\components\libraries\log\nrf_log_ctrl.h(182): error:  #99: a declaration here must declare a parameter
void nrf_log_handlers_set(nrf_log_std_handler_t     std_handler,
..............\components\libraries\log\nrf_log_ctrl.h(194): error:  #99: a declaration here must declare a parameter&lt;/p&gt;
&lt;p&gt;ool nrf_log_frontend_dequeue(void);
..............\components\libraries\log\nrf_log_backend.h(38): error:  #99: a declaration here must declare a parameter
ret_code_t nrf_log_backend_init(
ool blocking);
..............\components\libraries\log\nrf_log_backend.h(46): error:  #99: a declaration here must declare a parameter
nrf_log_std_handler_t nrf_log_backend_std_handler_get(void);
..............\components\libraries\log\nrf_log_backend.h(54): error:  #99: a declaration here must declare a parameter
nrf_log_hexdump_handler_t nrf_log_backend_hexdump_handler_get(void);
..............\components\libraries\log\nrf_log_backend.h(61): error:  #99: a declaration here must declare a parameter
uint8_t nrf_log_backend_getchar(void);
..............\components\libraries\log\src\nrf_log_frontend.c(36): warning:  #99-D: a declaration here must declare a parameter
typedef struct
..............\components\libraries\log\src\nrf_log_frontend.c(45): warning:  #231-D: declaration is not visible outside of function
} log_data_t;
..............\components\libraries\log\src\nrf_log_frontend.c(47): error:  #85: invalid storage class for a parameter
static log_data_t   m_log_data;
..............\components\libraries\log\src\nrf_log_frontend.c(47): error:  #99: a declaration here must declare a parameter
static log_data_t   m_log_data;
..............\components\libraries\log\src\nrf_log_frontend.c(116): warning:  #99-D: a declaration here must declare a parameter
typedef struct
..............\components\libraries\log\src\nrf_log_frontend.c(121): warning:  #231-D: declaration is not visible outside of function
} nrf_log_generic_header_t;
..............\components\libraries\log\src\nrf_log_frontend.c(123): warning:  #99-D: a declaration here must declare a parameter
typedef struct
..............\components\libraries\log\src\nrf_log_frontend.c(130): warning:  #231-D: declaration is not visible outside of function
} nrf_log_std_header_t;
..............\components\libraries\log\src\nrf_log_frontend.c(132): warning:  #99-D: a declaration here must declare a parameter
typedef struct
..............\components\libraries\log\src\nrf_log_frontend.c(140): warning:  #231-D: declaration is not visible outside of function
} nrf_log_hexdump_header_t;
..............\components\libraries\log\src\nrf_log_frontend.c(142): warning:  #99-D: a declaration here must declare a parameter
typedef struct
..............\components\libraries\log\src\nrf_log_frontend.c(149): warning:  #231-D: declaration is not visible outside of function
} nrf_log_pushed_header_t;
..............\components\libraries\log\src\nrf_log_frontend.c(151): warning:  #99-D: a declaration here must declare a parameter
typedef union
..............\components\libraries\log\src\nrf_log_frontend.c(158): warning:  #231-D: declaration is not visible outside of function
} nrf_log_header_t;
..............\components\libraries\log\src\nrf_log_frontend.c(233): error:  #99: a declaration here must declare a parameter
ret_code_t nrf_log_init(nrf_log_timestamp_func_t timestamp_func)
..............\components\libraries\log\src\nrf_log_frontend.c(233): error:  #101: &amp;quot;nrf_log_init&amp;quot; has already been declared in the current scope
ret_code_t nrf_log_init(nrf_log_timestamp_func_t timestamp_func)
..............\components\libraries\log\src\nrf_log_frontend.c(234): error:  #65: expected a &amp;quot;;&amp;quot;
{
..............\components\libraries\log\src\nrf_log_frontend.c(652): warning:  #12-D: parsing restarts here after previous syntax error
while (curr_offset &amp;lt; length);
..............\components\libraries\log\src\nrf_log_ctrl_internal.h(26): warning:  #1079-D: standard requires that parameter &amp;quot;timestamp_func&amp;quot; be given a type by a subsequent declaration (&amp;quot;int&amp;quot; assumed)
nrf_log_init(timestamp_func)
..............\components\libraries\log\src\nrf_log_frontend.c(678): error:  #130: expected a &amp;quot;{&amp;quot;
}
..............\components\libraries\log\src\nrf_log_frontend.c(683): error:  #20: identifier &amp;quot;m_log_data&amp;quot; is undefined
return (m_log_data.rd_idx == m_log_data.wr_idx);
..............\components\libraries\log\src\nrf_log_frontend.c(694): error:  #20: identifier &amp;quot;m_log_data&amp;quot; is undefined
uint32_t rd_idx        = m_log_data.rd_idx;
..............\components\libraries\log\src\nrf_log_frontend.c(698): error:  #20: identifier &amp;quot;nrf_log_header_t&amp;quot; is undefined
nrf_log_header_t header;
..............\components\libraries\log\src\nrf_log_frontend.c(795): warning:  #223-D: function &amp;quot;nrf_log_backend_getchar&amp;quot; declared implicitly
return nrf_log_backend_getchar();
..............\components\libraries\log\src\nrf_log_frontend.c: 22 warnings, 19 errors
compiling RTT_Syscalls_KEIL.c...
compiling SEGGER_RTT.c...
compiling SEGGER_RTT_printf.c...
assembling arm_startup_nrf51.s...
compiling system_nrf51.c...
&amp;quot;._build\nrf51422_xxac.axf&amp;quot; - 115 Error(s), 70 Warning(s).
Target not created.
Build Time Elapsed:  00:00:07&lt;/p&gt;
&lt;p&gt;please tell me why its happened.&lt;/p&gt;
&lt;p&gt;Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86757?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2017 10:56:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c6a9409-d741-4f17-ab9e-f9474cefab49</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;sir,
i at one point i am succesful for achieving communication between nrf51822 and nrf24l01.but there is one problem i am facing now i am receiving interrupt from nrf24l01 but at the receiver end i am not getting any data.
for which i had used the code from sdk 12.2.0 from the folder examples/peripherals/radio in this code the settings given for nrf24 series, these are as follows,
uint8_t tx_address[5] = { 0xC0, 0x01, 0x23, 0x45, 0x67 };&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;hal_nrf_set_rf_channel(7);&lt;/li&gt;
&lt;li&gt;hal_nrf_set_address_width(HAL_NRF_AW_5BYTES);&lt;/li&gt;
&lt;li&gt;hal_nrf_set_address(HAL_NRF_TX, tx_address);&lt;/li&gt;
&lt;li&gt;hal_nrf_set_address(HAL_NRF_PIPE0, tx_address);&lt;/li&gt;
&lt;li&gt;hal_nrf_open_pipe(0, false);&lt;/li&gt;
&lt;li&gt;hal_nrf_set_datarate(HAL_NRF_1MBPS);&lt;/li&gt;
&lt;li&gt;hal_nrf_set_crc_mode(HAL_NRF_CRC_16BIT);&lt;/li&gt;
&lt;li&gt;hal_nrf_setup_dynamic_payload(0xFF);&lt;/li&gt;
&lt;li&gt;hal_nrf_enable_dynamic_payload(false);&lt;/li&gt;
&lt;li&gt;@endverbatim&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;li&gt;When transmitting packets with hal_nrf_write_tx_payload(const uint8_t *tx_pload, uint8_t length),&lt;/li&gt;
&lt;li&gt;match the length with PACKET_STATIC_LENGTH.&lt;/li&gt;
&lt;li&gt;hal_nrf_write_tx_payload(payload, PACKET_STATIC_LENGTH);
according to this i had programmed arduino board with the following settings,
const byte rxAddr[5]={0xC0,0x01,0x23,0x45,0x67};
radio.setDataRate(RF24_1MBPS);
radio.setChannel(7);
//  radio.setRetries(15,15);
radio.setCRCLength(RF24_CRC_16);
radio.openWritingPipe(rxAddr);
radio.stopListening();
and for the payload length making equal i had chaned the arduino library function and made payload width 1.
at one point i had received the data from nrf24l01.but when next time i started to code arduino board and nrf51822 my rf communuication fail.i dont know how this happened.
will you please help me in one thing because  now i am thinking reversly i am trying to change opayload width of nrf51822 .will you please help me how to change the payload width with 32 bytes.cz nrf24l01 has default payload width  of 32 bytes.
so please tell me what changes i have to do for changing  payload widgth of nrf51822 according to receing 32 bytes data.
Pallavi&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86762?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2017 12:22:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2a6011d-f3db-4920-a412-aace9d882948</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Pallavi&lt;br /&gt;
You can use the attached code to verify that the nRF24L01 module is working correctly, and is able to communicate with your nRF51 kit (you just need a separate nRF51 kit to run the nRF24L01).&lt;br /&gt;
You can also use it to compare the register values and the control signals for the nRF24L01 module, and see how they differ from your Arduino implementation.&lt;br /&gt;
With that information in place it would hopefully be easier for you to see what is wrong on the Arduino side (assuming of course your L01 module works fine).&lt;br /&gt;
Since I don&amp;#39;t have your hardware I can&amp;#39;t really test that on my side.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86761?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2017 11:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07998c5c-dd59-4836-a4ef-4ad59be64d1a</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;hello sir,
thank you for the code but i am not getting how can i use this code for the rf communication. on one side i am using the arduio with nrf24l01 through SPI.and i am looking for the code on arduino platform so that i can easily communicate with nrf51.the code here you had given on keil platform.thats why i am confused now.i am not getting what can i do now.but thank you for your code.
Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86760?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2017 13:24:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1591567f-417b-4cf9-baa3-853a0de81d20</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Pallavi&lt;/p&gt;
&lt;p&gt;You should be able to find the project &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/l01_5F00_test_5F00_app.zip"&gt;here&lt;/a&gt;&lt;br /&gt;
Please note that it has only been tested on the nRF52DK. I only confirmed that it compiled on the nRF51DK, but didn&amp;#39;t have time to test it.&lt;br /&gt;
The pins used for the nRF24L01+ module is 11, 12, 13, 14, 15, 16, which corresponds to CE, CSN, SCK, MOSI, MISO, IRQ (in that order).&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86764?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2017 05:57:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:163e164c-4a76-4d2d-9ba5-e7c76afe6fc0</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;hello sir,
i have two nrf51 bords. but in one side i am using arduino with nrf24l01 and on the other side nrf51 board.then if you have the code please share.i am stuccked here badly.i want this communication for further implimentation of project on nrf51.&lt;/p&gt;
&lt;p&gt;Thank you ,
Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86739?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2017 13:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb593fb8-b95a-4ed3-8f8c-dbcc20847b99</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;
Since I don&amp;#39;t have the Arduino stuff up and running I had to dig out some old code to control the nRF24L01+ module from a Nordic kit.&lt;/p&gt;
&lt;p&gt;I used the following code to configure the L01+ module:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void l01_configure(void)
{
    l01_config_t l01_config = {1, 11, 12, 13, 14, 15, 16};
    hal_nrf_nrf52_init(&amp;amp;my_l01, &amp;amp;l01_config, l01_irq);
    
    nrf_delay_us(1500);
    
    hal_nrf_set_power_mode(HAL_NRF_PWR_UP);
        
    nrf_delay_us(1500);
		
    hal_nrf_set_crc_mode(HAL_NRF_CRC_16BIT);
    
    hal_nrf_set_datarate(HAL_NRF_2MBPS);
    
    hal_nrf_setup_dynamic_payload(0x3F);
    hal_nrf_enable_dynamic_payload(true);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The register readout after configuration was the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;APP:INFO:  Reg 0x00: 0x0E
APP:INFO:  Reg 0x01: 0x3F
APP:INFO:  Reg 0x02: 0x03
APP:INFO:  Reg 0x03: 0x03
APP:INFO:  Reg 0x04: 0x03
APP:INFO:  Reg 0x05: 0x02
APP:INFO:  Reg 0x06: 0x0F
APP:INFO:  Reg 0x07: 0x0F
APP:INFO:  Reg 0x08: 0x93
APP:INFO:  Reg 0x09: 0x00
APP:INFO:  Reg 0x0A: 0xE7-0xE7-0xE7-0xE7-0xE7
APP:INFO:  Reg 0x0B: 0xC2-0xC2-0xC2-0xC2-0xC2
APP:INFO:  Reg 0x0C: 0xC3
APP:INFO:  Reg 0x0D: 0xC4
APP:INFO:  Reg 0x0E: 0xC5
APP:INFO:  Reg 0x0F: 0xC6
APP:INFO:  Reg 0x10: 0xE7-0xE7-0xE7-0xE7-0xE7
APP:INFO:  Reg 0x11: 0x00
APP:INFO:  Reg 0x12: 0x00
APP:INFO:  Reg 0x13: 0x00
APP:INFO:  Reg 0x14: 0x00
APP:INFO:  Reg 0x15: 0x00
APP:INFO:  Reg 0x16: 0x00
APP:INFO:  Reg 0x17: 0x21
APP:INFO:  Reg 0x18: 0x00
APP:INFO:  Reg 0x19: 0x00
APP:INFO:  Reg 0x1A: 0x00
APP:INFO:  Reg 0x1B: 0x00
APP:INFO:  Reg 0x1C: 0x3F
APP:INFO:  Reg 0x1D: 0x04
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;With this configuration I could send packets to an nRF51822 device, running the standard esb_prx example in the SDK.&lt;/p&gt;
&lt;p&gt;Do you have two nRF51 boards?&lt;br /&gt;
If so I can probably share my code, and you can try to run the nRF24L01+ module straight from the Nordic DK and see if you can get that to work.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86763?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2017 05:15:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cb6f0e0-6f6d-4b3c-9eab-320753df5593</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;hello sir,
i am waiting for your reply.as i am stucked with this problem...
Pallavi.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86759?ContentTypeID=1</link><pubDate>Sat, 03 Jun 2017 07:19:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a02c049b-7052-42f5-abbd-4adf7b792fb6</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;sir i have also tried radio example for nrf51822 nrf\nRF5_SDK_12.3.0_d7731ad\nRF5_SDK_12.3.0_d7731ad\examples\peripheral\radio\receiver\pca10028\blank\arm4
on the arduino side i have done these settings,&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#include &amp;lt;SPI.h&amp;gt;
#include &amp;lt;nRF24L01.h&amp;gt;
#include &amp;lt;RF24.h&amp;gt;
#include &amp;quot;printf.h&amp;quot;      // General includes for radio and audio lib

RF24 radio(18, 19);
unsigned char values;
int x=0;
//const byte rxAddr[6] = &amp;quot;00001&amp;quot;;
const byte rxAddr[5] = {0xC0, 0x01, 0x23, 0x45, 0x67};
//char values;
void setup()
{
  Serial.begin(9600);
  printf_begin();  
  radio.begin();
  radio.openWritingPipe(rxAddr);
  radio.setChannel(7);
 //radio.setPALevel(RF24_PA_MAX);
  radio.setDataRate(RF24_1MBPS);
 // radio.setChannel(7);
//  radio.setRetries(15,15);
   radio.setCRCLength(RF24_CRC_16);
   radio.setPayloadSize(1);
 //radio.enableAckPayload();
// radio.enableDynamicPayloads();
 //radio.openWritingPipe(rxAddr);
  radio.stopListening();
//radio.printDetails();
}

void loop()
{
//  Serial.print(&amp;quot;value&amp;quot;);
 // if(Serial.available()) {    
    
  //   while (Serial.available()&amp;gt;0){
        
       values = &amp;#39;1&amp;#39;;
        
         radio.write(&amp;amp;values,32);
         delay(500);
      //  Serial.print(value);  //prints the character just read
     }
     
           
    //Serial.println();
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in this case i am able to make radio communication betrween nrf24l01 and nrf51822.but in nrf51822 side i am not able to take transmitted character it shows nrflog as data received is 0.&lt;/p&gt;
&lt;p&gt;can you please tell me if there is any settings of setting payload on transmission and recveiver side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86758?ContentTypeID=1</link><pubDate>Sat, 03 Jun 2017 05:11:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e164d27-7fc9-4efe-bbf4-1357f6b0ba59</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;hello sir,
these are the details aftyer executing  printDetails(); function&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;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	 = 0x01 0x00 0x00 0x00 0x00 0x00
EN_AA		 = 0x3f
EN_RXADDR	 = 0x03
RF_CH		 = 0x4c
RF_SETUP	 = 0x0f
CONFIG		 = 0x0e
DYNPD/FEATURE	 = 0x3f 0x06
Data Rate	 = 2MBPS
Model		 = nRF24L01+
CRC Length	 = 16 bits
PA Power	 = PA_MAX
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86756?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 12:32:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a3f2c0c-949c-4fac-b717-c365666dd82c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you run the printDetails() function on the Arduino side after you have configured the radio, and let me know what you get?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86755?ContentTypeID=1</link><pubDate>Fri, 26 May 2017 12:49:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3f2c748-84b1-462f-b486-136e77e8d3f2</guid><dc:creator>pallavi</dc:creator><description>&lt;p&gt;i am using arduino uno board. i have done the tx rx communication of nrf24l01+arduino with another nrf24l01+arduino uno;with the above same specifications of rf.
but it is not working with nrf51822.
as you told i have used  radio.enableAckPayload();  //function for enabling the Auto ACK
and radio.enableDynamicPayloads(); // function for enabling the dynamic payload
is these are write functions i am using for the two purposes,Auto ACK and enabling the dynamic payload.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want nrf24l01 communication with nrf51822</title><link>https://devzone.nordicsemi.com/thread/86754?ContentTypeID=1</link><pubDate>Fri, 26 May 2017 12:17:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f031d183-4c70-4cf7-9c18-cd1577c20f40</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What kind of hardware are you using on the nRF24L01+ side? Just a regular Arduino Uno?&lt;/p&gt;
&lt;p&gt;Have you been able to verify the Arduino/nRF24L01+ kit in isolation by using a similar kit as the receiver, or could there be issues on the Arduino side as well?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;
Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>