<?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>WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52116/write-read-command-for-nrf24l01-via-spi</link><description>Hi, i&amp;#39;m using the nrf24l01 with a zynq board to use it as radiocontrol; i&amp;#39;m trying to configure the nrf as receiver so that i&amp;#39;m able to send data from another nrf connected to an arduino. The first step i had to do, as i understood frome the datasheet</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Sep 2019 20:06:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52116/write-read-command-for-nrf24l01-via-spi" /><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/212141?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2019 20:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17e526df-8eef-4853-b355-95714eac4c56</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Be sure to update your other thread with the solution, and also mark that one as solved:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52088/write-read-command-for-nrf24l01-via-spi"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/52088/write-read-command-for-nrf24l01-via-spi&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/212140?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2019 20:04:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2d18dfe-8cba-4d86-b475-c6c8d81c07a7</guid><dc:creator>paolo lucantonio</dc:creator><description>&lt;p&gt;The problem was that the ZYNQ board had as default configuration the deassertion of the CSN between the end of a word and the beginning of the following one so that every byte sent to nrf were considered as a new command for nrf and it sent to the miso signal the status register every time. Luckily this option could be removed and now the csn is kept asserted. (i&amp;#39;m sorry for the double problem now i&amp;#39;ll close this one and i&amp;#39;ll open a new thread, thank you)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/212137?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2019 20:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4049a620-7ca0-4cf7-9681-721257645f16</guid><dc:creator>awneil</dc:creator><description>[quote userid="83319" url="~/f/nordic-q-a/52116/write-read-command-for-nrf24l01-via-spi/212136"]i was able to use a logic analyser and solve the problem[/quote]
&lt;p&gt;So, for the benefit of others who may have similar issues, what was the problem?&lt;/p&gt;
&lt;p&gt;And how was it solved?&lt;/p&gt;
&lt;p&gt;Probably better to put that in the other thread ...&lt;/p&gt;
[quote userid="83319" url="~/f/nordic-q-a/52116/write-read-command-for-nrf24l01-via-spi/212136"]now another one appeared[/quote]
&lt;p&gt;Please keep to one problem per thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/212136?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2019 19:53:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05e5256b-c67d-4313-bd0d-9724cb06a50b</guid><dc:creator>paolo lucantonio</dc:creator><description>&lt;p&gt;hi everyone, i was able to use a logic analyser and solve the problem, but now another one appeared: i&amp;#39;m trying to configure the nrf to rx and according to the state diagram i realized that: as the nrf is supplied and the voltage goes over 1,9V the nrf goes in the power down mode. i should be able to send via spi the command to set the pwr_up bit to 1 to allow the nrf to go the stand_by 1 state and after the 1,5ms needed to the nrf i should&amp;nbsp; set both ce and prim_rx to 1, am i wrong? The main problem is that the nrf is ignoring the writing command; are needed other instrunction? (i also tried to first read the config_Register and then to put it in a bit-a-bit or to my data byte and then sending the resulting byte to nrf but with 0 result. p.s the reading command isn&amp;#39;t having any problem )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/210360?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 10:59:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4b5711c-e29f-4286-8785-789fe23d5a1f</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Probably easier to stick to your other thread:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52088/write-read-command-for-nrf24l01-via-spi"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/52088/write-read-command-for-nrf24l01-via-spi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As &lt;a href="https://devzone.nordicsemi.com/members/kme"&gt;Kenneth&lt;/a&gt; said there, you need a logic analyser to see what&amp;#39;s happening...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/210356?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 10:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da69a58f-03c3-494d-91a1-8a79d38b904a</guid><dc:creator>paolo lucantonio</dc:creator><description>&lt;p&gt;i checked many codes, i also studied all the arduino library for NRF and for what i understood the functions for writing and reading register on NRF should be correct but they don&amp;#39;t work so it seems i&amp;#39;m missing something that i can&amp;#39;t get&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/209598?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2019 11:23:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84cf9ffb-a65d-4bbe-b36c-154e885be0ac</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;These chips are very widely used - so there&amp;nbsp; are a lot of examples &amp;amp; tutorials out there.&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.avrfreaks.net/comment/2758091#comment-2758091"&gt;https://www.avrfreaks.net/comment/2758091#comment-2758091&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also beware that there are fakes out there:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.avrfreaks.net/comment/2764341#comment-2764341"&gt;https://www.avrfreaks.net/comment/2764341#comment-2764341&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/209590?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2019 10:28:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c4ae00c-ad6c-4b5a-a583-a2d1eb8554fd</guid><dc:creator>paolo lucantonio</dc:creator><description>&lt;p&gt;i&amp;#39;m feeling quite dumb this moment&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/209589?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2019 10:20:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80222a31-643e-4727-ad52-632966260de3</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Go on - you could just make a reply in &lt;em&gt;that thread&lt;/em&gt; with the proper formatting!&lt;/p&gt;
&lt;p&gt;Anyhow, this is how you do it:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1568370134959v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/209585?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2019 10:11:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bf2c288-84db-4c5d-a84a-5b7c0910c539</guid><dc:creator>paolo lucantonio</dc:creator><description>&lt;p&gt;yes, they suggested me to insert the code properly but i couldn&amp;#39;t find a way to remove the previous post&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/209584?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2019 10:10:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a3a10fc-3234-4d5d-9712-e4a136839d8c</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry - you&amp;#39;re just duplicating this post:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52088/write-read-command-for-nrf24l01-via-spi"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/52088/write-read-command-for-nrf24l01-via-spi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is what happens when you duplicate posts!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/209581?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2019 10:07:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b93453ad-15ea-4c1e-a8e3-6e382000a385</guid><dc:creator>paolo lucantonio</dc:creator><description>&lt;p&gt;those aren&amp;#39;t my posts&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WRITE/READ COMMAND FOR NRF24L01 VIA SPI</title><link>https://devzone.nordicsemi.com/thread/209580?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2019 10:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebfe879a-8a7e-48b4-bc4d-872aec0647af</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Have you checked the replies to your two posts on AVRFreaks?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.avrfreaks.net/forum/nrf24l01-and-atmega32-communication-problem-0"&gt;https://www.avrfreaks.net/forum/nrf24l01-and-atmega32-communication-problem-0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.avrfreaks.net/forum/nrf24l01-and-atmega32-communication-problem"&gt;https://www.avrfreaks.net/forum/nrf24l01-and-atmega32-communication-problem&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When cross-posting, always give links between the posts - so everyone can see what&amp;#39;s going on.&lt;/p&gt;
&lt;p&gt;And be sure to keep them all updated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>