<?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>Not able to write and read more than 16KB data in the qspi memory on nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57755/not-able-to-write-and-read-more-than-16kb-data-in-the-qspi-memory-on-nrf52840</link><description>Hi everyone I have been reading the GPS data using nordic nrf52840 over the UART. I am able to receive as much as 64KB of data via the UART. Here&amp;#39;s the scenario of whats been happening 1. If i Write the data to QSPI memory and not read it back after writing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Feb 2020 10:40:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57755/not-able-to-write-and-read-more-than-16kb-data-in-the-qspi-memory-on-nrf52840" /><item><title>RE: Not able to write and read more than 16KB data in the qspi memory on nrf52840</title><link>https://devzone.nordicsemi.com/thread/237094?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2020 10:40:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b096da51-8c05-4c97-bfb5-746304f788a1</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;That fixed it&amp;nbsp;&lt;br /&gt;I used a timeout in wait_for_peripheral function. But to write big chunks of data , i think we need to wait untill the whole data is written.&lt;/p&gt;
&lt;p&gt;Its fixed now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to write and read more than 16KB data in the qspi memory on nrf52840</title><link>https://devzone.nordicsemi.com/thread/234966?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2020 14:43:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4af44f9b-0d55-4d08-8304-2a99eab1c429</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Please try to right click the link you want to send from infocenter and click &amp;quot;copy link address&amp;quot;. The link in the URL doesn&amp;#39;t update when you click links in infocenter. What function did you refer to?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When you do your tests, do you wait for the writes to finish before you read back?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to write and read more than 16KB data in the qspi memory on nrf52840</title><link>https://devzone.nordicsemi.com/thread/234302?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 04:39:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4bce07a-af44-4947-babc-83257862bff9</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Correct me if i am wrong&lt;br /&gt;Disable function for the softdevice is used is this one&amp;nbsp;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v6.0.0%2Findex.html&amp;amp;cp=4_5_3_4"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v6.0.0%2Findex.html&amp;amp;cp=4_5_3_4&lt;br /&gt;&lt;/a&gt;But it doesn&amp;#39;t help , same problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to write and read more than 16KB data in the qspi memory on nrf52840</title><link>https://devzone.nordicsemi.com/thread/234301?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 04:25:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8802f907-e287-49fa-8ef0-fac2cfb8d969</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;If it were a buffer problem , it would have also occured when i do only the writing the data.&amp;nbsp;&lt;br /&gt;But problem arises only when i try to read it back after writing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to write and read more than 16KB data in the qspi memory on nrf52840</title><link>https://devzone.nordicsemi.com/thread/234300?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 04:24:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10844c54-a0fa-4373-861f-2924b2c22d57</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;MY_DATA_SIZE is 65532 and Hardware is quectel bg-96(based on nrf52840) with the same qspi memory as the nrf52 PDK.&amp;nbsp;&lt;br /&gt;Chip Name is&amp;nbsp;MX25R6435F&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to write and read more than 16KB data in the qspi memory on nrf52840</title><link>https://devzone.nordicsemi.com/thread/234245?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 15:48:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3a49273-a06b-4ce6-9d00-859305469410</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;When you use nrf_drv_qspi_write(m_my_buffer, MY_DATA_SIZE); what is the buffer size of m_my_buffer, and what is MY_DATA_SIZE?&lt;/p&gt;
&lt;p&gt;somewhere you have initialized m_my_buffer[n]. What is n?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Perhaps you can show me how you use nrf_drv_qspi_write and read? However, it sounds like some buffer overflow. Does this also happen if you do not use the softdevice (Just for testing and root cause investigation)?&lt;/p&gt;
&lt;p&gt;What HW do you use? Is it the nRF52840 DK? Or is it custom HW? If it is custom, what external QSPI flash do you use?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to write and read more than 16KB data in the qspi memory on nrf52840</title><link>https://devzone.nordicsemi.com/thread/234091?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 06:04:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45a369ca-49b5-45b9-9f82-86dbe836fd14</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Correction :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;&lt;span&gt;If i write more than 16KB data to&amp;nbsp;&lt;/span&gt;&lt;span&gt;QSPI&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;memory and read it back after writing is finished , I am not able to read the data , the software get paused saying , unknown function at 0x000000978&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>