<?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>nRF24LU1+ spi program communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59865/nrf24lu1-spi-program-communication</link><description>Goodmorning, 
 while performing an SPI read with command 0x03, the nRF24 is sending data during command and address transmission. Is it right? 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Apr 2020 06:56:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59865/nrf24lu1-spi-program-communication" /><item><title>RE: nRF24LU1+ spi program communication</title><link>https://devzone.nordicsemi.com/thread/243795?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 06:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61976797-c1c2-4e4f-a57c-3128e1032699</guid><dc:creator>Alessio</dc:creator><description>&lt;p&gt;Thanks H&amp;aring;kon for the clear explanation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1+ spi program communication</title><link>https://devzone.nordicsemi.com/thread/243790?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 06:45:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f467c6c9-c788-444b-9ffd-0425b6f5c7a7</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for clearing that up.&lt;/p&gt;
[quote user="dev_1"]The requested two bytes are the latest from MISO, is it right?[/quote]
&lt;p&gt;That is correct. The first 3 bytes are op-code + 2 byte address, so the 4th byte (and onwards) on MISO will be the data you&amp;#39;re&amp;nbsp;interested in.&amp;nbsp;&lt;/p&gt;
[quote user="dev_1"]The first 3 bytes from MISO can be ignored, is it correct?[/quote]
&lt;p&gt;&amp;nbsp;Yes.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You read out 0x02, which is a jump instruction (see opcode in chapter 14.5), and the next two bytes would be the start address of the image, which I expect is 0x7800 when you read the next byte (default location of the usb bootloader).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1+ spi program communication</title><link>https://devzone.nordicsemi.com/thread/243721?ContentTypeID=1</link><pubDate>Mon, 06 Apr 2020 14:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be11c70a-3813-4d39-8719-af1147fe76ad</guid><dc:creator>Alessio</dc:creator><description>&lt;p&gt;It&amp;#39;s the reading of the Flash on the nRF24LU1+ over SPI from an external microcontroller.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1+ spi program communication</title><link>https://devzone.nordicsemi.com/thread/243699?ContentTypeID=1</link><pubDate>Mon, 06 Apr 2020 14:02:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0edc340-5b1d-4075-9a59-1b4967b61b9e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which register are you trying to read, is this the SETUP_AW register in the radio core, or your own implementation over SPI on the nRF24LU1+?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1+ spi program communication</title><link>https://devzone.nordicsemi.com/thread/243648?ContentTypeID=1</link><pubDate>Mon, 06 Apr 2020 12:32:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2b2fdc6-0f01-4c51-9545-6cdf1486a14a</guid><dc:creator>Alessio</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for reply, so just for confirmation, if I want to read 2 bytes starting from address 0, I should send:&lt;/p&gt;
&lt;p&gt;0x03 (meaning READ commad), 0x00 (MSB address), 0x00 (LSB address), 0x00 (dummy send for byte 1), 0x00 (dummy send for byte 2).&lt;/p&gt;
&lt;p&gt;This is what I get:&lt;/p&gt;
&lt;p&gt;First transaction.&lt;/p&gt;
&lt;p&gt;MOSI -&amp;gt; 0x03, 0x00, 0x00, 0x00, 0x00&lt;/p&gt;
&lt;p&gt;MISO -&amp;gt; 0x00, 0x78, 0x78, 0x02, 0x78&lt;/p&gt;
&lt;p&gt;Second transaction after the previous.&lt;/p&gt;
&lt;p&gt;MOSI -&amp;gt; 0x03, 0x00, 0x00, 0x00, 0x00&lt;/p&gt;
&lt;p&gt;MISO -&amp;gt; 0x00, 0x00, 0x00, 0x02, 0x78&lt;/p&gt;
&lt;p&gt;The requested two bytes are the latest from MISO, is it right?&lt;/p&gt;
&lt;p&gt;The first 3 bytes from MISO can be ignored, is it correct?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF24LU1+ spi program communication</title><link>https://devzone.nordicsemi.com/thread/243617?ContentTypeID=1</link><pubDate>Mon, 06 Apr 2020 11:42:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc11ed2d-63e6-42eb-87f8-97410e0123df</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]while performing an SPI read with command 0x03, the nRF24 is sending data during command and address transmission. Is it right?[/quote]
&lt;p&gt;If you are asking if the SPI read function is full duplex, yes, it is. You can get data shifted back on MISO while you&amp;#39;re shifting data on MOSI. This is usually a one-command lag, meaning that the next transmission will return the data from the former command.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>