<?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>QSPI problem with NUS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68957/qspi-problem-with-nus</link><description>Hi everybody, 
 I think have a problem which involve writing on the external memory of the nrf52840, what I want is when I receive data from the NUS service I want to store it on the external memory. 
 But I encountered an issus with the reading I always</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Dec 2020 10:56:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68957/qspi-problem-with-nus" /><item><title>RE: QSPI problem with NUS</title><link>https://devzone.nordicsemi.com/thread/282852?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 10:56:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:916b115c-d5b0-4159-97c9-b5e832f89ac0</guid><dc:creator>TermiteUser</dc:creator><description>&lt;p&gt;It&amp;#39;s working now, you were right that was the problem&lt;/p&gt;
&lt;p&gt;Thanks a lot !&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI problem with NUS</title><link>https://devzone.nordicsemi.com/thread/282832?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 09:48:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9419839a-4428-430f-a15c-c23aff7cc6be</guid><dc:creator>TermiteUser</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see the problem, I will try your solution and give you an update.&lt;/p&gt;
&lt;p&gt;Thanks for the reply&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI problem with NUS</title><link>https://devzone.nordicsemi.com/thread/282829?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 09:37:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c0fa274-3b0c-40ee-8168-a5e726c7593b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My guess is that the QSPI peripheral runs at a lower priority than the nus_data_handler, which prevents it from writing the data to the flash before you try to read it back.&lt;/p&gt;
&lt;p&gt;I would highly recommend that you move large processing tasks like this outside of the interrupt/event handlers, for instance by setting a flag in the handler and process the task in main-loop, or use the &lt;a title="Schedule handling library" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_scheduler.html?cp=7_1_3_41"&gt;Schedule handling library&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>