<?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>SPI flash drive implementation problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63785/spi-flash-drive-implementation-problem</link><description>I want to use nrf SPI driver for SPI flash implementation. For that want to send either SPI transmit or SPI receive at single instance to write or read flash address. But in nrf spi divers , single driver function is available for both transmit and receive</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Jul 2020 10:38:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63785/spi-flash-drive-implementation-problem" /><item><title>RE: SPI flash drive implementation problem</title><link>https://devzone.nordicsemi.com/thread/260109?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 10:38:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca37e19c-4e1e-41cb-90dd-cac3923a97cd</guid><dc:creator>Pooja Uchagaonkar</dc:creator><description>&lt;p&gt;Sorry for inconvenience Sir,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was interfacing SPI flash memory with nRF52840. At the time of send command and register address to SPI flash, I defined NULL at *&lt;span&gt;p_rx_buffer &amp;amp;&amp;nbsp;rx_buffer_length&amp;nbsp;because I wanted to only transfer data to flash. Once&amp;nbsp; the command is successfully send to SPI flash then I want to receive data from flash memory. So I defined NULL at&amp;nbsp;* p_tx_buffer &amp;amp;&amp;nbsp;tx_buffer_length and&amp;nbsp;trying to receive data at&amp;nbsp;p_rx_buffer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I didn&amp;#39;t get proper data from flash but&amp;nbsp;problem is resolved now. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for support.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Pooja Uchagaonkar&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI flash drive implementation problem</title><link>https://devzone.nordicsemi.com/thread/260079?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 09:32:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70c689b9-2819-411f-bcad-32195c7cb443</guid><dc:creator>haakonsh</dc:creator><description>[quote user=""]For SPI flash write functionality, only transmit functionality require to send address and data, so I defined receiving parameters are NULL herewith. Same reverse thing is apply at the time of receive. But I didn&amp;#39;t get proper data when I am trying to read data from flash.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;I don&amp;#39;t quite understand what you&amp;#39;ve done, can you re-phrase this paragraph?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>