<?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>Help with nRF24L01+ datasheet</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35847/help-with-nrf24l01-datasheet</link><description>Using this sheet 
 https://www.sparkfun.com/datashe... 
 
 I&amp;#39;m trying to figure out two things. 
 
 1) There is a section on timing but I&amp;#39;m a bit confused what SPI Clock rate to use (SPI2x, SPR1, SPr0 respectively). I don&amp;#39;t see a way to set the nRF24</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Jan 2019 08:44:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35847/help-with-nrf24l01-datasheet" /><item><title>RE: Help with nRF24L01+ datasheet</title><link>https://devzone.nordicsemi.com/thread/166739?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 08:44:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6097f50-6f02-448a-88fc-be09b1bb7556</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The code example we have for the nRF24L01+ is found here:&lt;br /&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.appnotes/dita/appnotes/pdflinks/nan_24-12.html?cp=10_15"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.appnotes/dita/appnotes/pdflinks/nan_24-12.html?cp=10_15&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with nRF24L01+ datasheet</title><link>https://devzone.nordicsemi.com/thread/166269?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 14:00:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28fc3c1b-d908-4f79-b670-79717fa47fc9</guid><dc:creator>ulao</dc:creator><description>&lt;p&gt;That works, got most everything set up but the receiver. Receiver is now on ARM and my receive codes is something like&lt;/p&gt;
&lt;p&gt;spi_send(2,0x61,0x00,0x00,0x00,0x00,0x00,0x00,0x00); //get state&lt;br /&gt;spi_send(1,0xe2,0x00,0x00,0x00,0x00,0x00,0x00,0x00); //flush&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I always get 0x0e empty fifo but I also get the data i&amp;#39;m looking for. I want to basically get the data and dump the buffer so I always have fresh data. I&amp;#39;m not able to make that work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m thinking maybe I need to use 27 or 37 hex and set the flags but i&amp;#39;m not sure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with nRF24L01+ datasheet</title><link>https://devzone.nordicsemi.com/thread/165892?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 09:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b92307a-c5fe-4479-8521-6faeb3afbae0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;That is required, since the packet is triggered to be sent in TX. In RX is should be high all the time while receiving.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with nRF24L01+ datasheet</title><link>https://devzone.nordicsemi.com/thread/165829?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 18:43:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48b38d3d-3239-497a-9be7-76ac71287f0e</guid><dc:creator>ulao</dc:creator><description>&lt;p&gt;is this needed?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre class="prettyprint"&gt;&lt;span class="pln"&gt;&lt;/span&gt;&lt;span class="com"&gt;//Pulse CE to start transmission&lt;/span&gt;&lt;br /&gt;&lt;span class="pln"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SPI_CE &lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="pln"&gt; HIGH&lt;/span&gt;&lt;span class="pun"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="pln"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;__delay_ms&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="lit"&gt;1&lt;/span&gt;&lt;span class="pun"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class="pln"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SPI_CE &lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="pln"&gt; LOW&lt;/span&gt;&lt;span class="pun"&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with nRF24L01+ datasheet</title><link>https://devzone.nordicsemi.com/thread/165001?ContentTypeID=1</link><pubDate>Thu, 10 Jan 2019 16:14:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2aedf17-edd9-4154-b35f-1d3ea1e4c885</guid><dc:creator>ulao</dc:creator><description>&lt;p&gt;Been away from the project for a bit but I&amp;#39;m back now. I wanted to see if anyone could glance at my code and see what I&amp;#39;m doing wrong here.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to send data to a radio listening on channel 5, pipe 0. but I&amp;#39;m not seeing data.&lt;/p&gt;
&lt;p&gt;does &lt;span class="highlight selected"&gt;CSN&lt;/span&gt; normally work with SS of the SPI?&amp;nbsp; OR does it need to go high at a manually controlled time. I just connected it to the active/inactive SS pin of the SPI. I also see talk about pulsing the line for 1ms, is this needed?&lt;/p&gt;
&lt;p&gt;This is my code from the sender. The comments should show my intentions. Though nothing is showing up on the receiving end.&lt;/p&gt;
&lt;p&gt;also the rf setup does not make any sense to me. Most people are setting it to 0x06 for 1MB but that looks like reserved to me and when set to 1MB in the Arduino code its a 0x01 that looks like 2MB? And what exactly does this mean? &lt;strong&gt;This bit is don&amp;rsquo;t care if RF_DR_LOW is set&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;
On my transmit end I use an arm. The SPI checks out (I see it on my analyzer)
I manualy hold CE hi and I get 0x1e for each byte. 
	
	spi_send(2,0x20,0x0a,0x00,0x00,0x00,0x00,0x00,0x00);//transmit //5a
	//spi_send(2,0x24,0x00,0x00,0x00,0x00,0x00,0x00,0x00);//auto transmit off
	spi_send(2,0x25,0x05,0x00,0x00,0x00,0x00,0x00,0x00); // chanel 5
	spi_send(2,0x26,0x26,0x00,0x00,0x00,0x00,0x00,0x00);//data rate of 1mb 06 is somehow 1mb. 26 shoudl be 250k
	spi_send(2,0x23,0x03,0x00,0x00,0x00,0x00,0x00,0x00);//addres for 5 bytes

    const char *addr = &amp;quot;Seat1&amp;quot;;
	spi_send(6,0x30,addr[0],addr[1],addr[2],addr[3],addr[4],0x00,0x00);//pipe 0
	
	 spi_send(2,0x31,0x07,0x00,0x00,0x00,0x00,0x00,0x00);//7 bytes for data.
	spi_send(2,0x21,0x00,0x00,0x00,0x00,0x00,0x00,0x00);//auto ack (3f to enable : 00 to not )

    while(1)
	{			
		spi_send(8,0xa0,0x01,0x02,0x03,0x04,0x05,0x06,0x07);

		//1ms pulse
		SPIdrv-&amp;gt;Control(ARM_SPI_CONTROL_SS, ARM_SPI_SS_ACTIVE); // SS line = ACTIVE = LOW
		for (int f=1;f&amp;lt;4450;f++)  { for (double g=0;g&amp;gt;0;g++)  {}; }
		SPIdrv-&amp;gt;Control(ARM_SPI_CONTROL_SS, ARM_SPI_SS_INACTIVE); // SS line = INACTIVE = HIGH
			
		osDelay(1000);
	}
}

		
The recive end is an arduino. I never really used this thing before but its a built in library. 


RF24 radio(7, 8); // CE, CSN
void setup() {
  radio.begin();
  radio.setChannel(5);
  const byte add[5] = {&amp;#39;S&amp;#39;,&amp;#39;e&amp;#39;.&amp;#39;a&amp;#39;,&amp;#39;t&amp;#39;,&amp;#39;1&amp;#39; };
  radio.openReadingPipe(0, add);
  radio.setPALevel(RF24_PA_MIN);
}
void loop() {
  Serial.begin(115200);
  delay(5);
  radio.startListening();
  if ( radio.available()) 
  {
    Serial.println(&amp;quot;waiting&amp;quot;);
    while (radio.available())
    {
      char i[7];
      radio.read(&amp;amp;i, sizeof(i));
      Serial.println(i);
    }
 
  }
}






&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with nRF24L01+ datasheet</title><link>https://devzone.nordicsemi.com/thread/138176?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 15:16:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ae101f6-3a7a-4dd7-a7f1-7cf5ba3ca391</guid><dc:creator>ulao</dc:creator><description>&lt;p&gt;ah, 0x0e is a good reply, thx then!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with nRF24L01+ datasheet</title><link>https://devzone.nordicsemi.com/thread/138171?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 14:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:395c4bb8-cbfc-4787-8929-2a09a3c3a801</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Seems you have this already sorted out.&lt;/p&gt;
&lt;p&gt;0x25 means write to address 5 with the value 1. I can also see that STATUS register is 0x0E, because that is always clocked out on first byte.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with nRF24L01+ datasheet</title><link>https://devzone.nordicsemi.com/thread/137923?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 13:47:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ad3abdd-bab7-4626-8301-d84741e1651e</guid><dc:creator>ulao</dc:creator><description>&lt;p&gt;I was able to find the map table commands on 48, and&amp;nbsp; I think the clock is very loose but a max of 10mhz?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;so on my ARM chip I did this (bits should be obvious).&lt;/p&gt;
&lt;p&gt;// Configure the SPI to Master, 8-bit mode @10000 kBits/sec &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPIdrv-&amp;gt;Control(ARM_SPI_MODE_MASTER | ARM_SPI_MSB_LSB | ARM_SPI_SS_MASTER_SW | ARM_SPI_DATA_BITS(8), 10000000);&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPIdrv-&amp;gt;Control(ARM_SPI_CONTROL_SS, ARM_SPI_SS_INACTIVE); // SS line = INACTIVE = HIGH&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;//set up rf channel&lt;/p&gt;
&lt;p&gt;testdata_out[8] = { 0x25, 1&amp;nbsp; };//cmd 5th bit on to write (address 0x05)&amp;nbsp; , data channel 1.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;SPIdrv-&amp;gt;Send(testdata_out, sizeof(testdata_out));&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Did I get that about right? Worried about my m/l significant bits.&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1530108023078v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1530108242844v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>