<?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>nRF52840, nRF5_SDK_15.1.0, running SD ,  problems using nrf_fstora_sd with scan interval  and scan window high like 1600.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39160/nrf52840-nrf5_sdk_15-1-0-running-sd-problems-using-nrf_fstora_sd-with-scan-interval-and-scan-window-high-like-1600</link><description>Using SCAN_INTERVAL and SCAN_WINDOW at 1600 vill make the flash write and erase come out with a error, the fstorage is working fine before the SD is initialised. 
 /** @brief Application main function. */ /** @brief Parameters used when scanning. */ </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Oct 2018 07:57:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39160/nrf52840-nrf5_sdk_15-1-0-running-sd-problems-using-nrf_fstora_sd-with-scan-interval-and-scan-window-high-like-1600" /><item><title>RE: nRF52840, nRF5_SDK_15.1.0, running SD ,  problems using nrf_fstora_sd with scan interval  and scan window high like 1600.</title><link>https://devzone.nordicsemi.com/thread/151770?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 07:57:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9941292b-b796-44a0-9673-7596015be342</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Then I suggest you don&amp;#39;t use 1600 as SCAN_WINDOW. If for some reason you need to use 1600 then I suggest you stop the scanning when you write to flash and start it again when done writing to flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, nRF5_SDK_15.1.0, running SD ,  problems using nrf_fstora_sd with scan interval  and scan window high like 1600.</title><link>https://devzone.nordicsemi.com/thread/151767?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 07:38:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a70d871a-8987-4952-867e-e6c177d25ba8</guid><dc:creator>CRIM</dc:creator><description>&lt;p&gt;Weird! it is working fine with 0X0A0 at both parameters?? Also most of the examples I have seen they have the same value, maybe I have to take a look at the specification and how to optimise the two parameters to the application running. I am just not quite sure how high I can go without loosing the flash function specific 1600ms is not working.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, nRF5_SDK_15.1.0, running SD ,  problems using nrf_fstora_sd with scan interval  and scan window high like 1600.</title><link>https://devzone.nordicsemi.com/thread/151762?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 07:24:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:079bd80a-fa4d-4125-9e96-2cd24e0ddea2</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;SCAN_INTERVAL and SCAN_WINDOW can&amp;#39;t be the same value, otherwise the soft device will never have time to write to the flash. SCAN_WINDOW needs to be lower than SCAN_INTERVAL.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, nRF5_SDK_15.1.0, running SD ,  problems using nrf_fstora_sd with scan interval  and scan window high like 1600.</title><link>https://devzone.nordicsemi.com/thread/151723?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 18:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24350557-7790-47bb-b111-0865a407ab47</guid><dc:creator>CRIM</dc:creator><description>&lt;p&gt;The error code was not saying anything it just announced &amp;quot;flash operation failed&amp;quot; . The error only happens when using the 1600 (1000/0.625) ms in SCAN_INTERVAL and SCAN_WINDOW, changing the two variables to 160ms (0xA0)ms the flash operation is working fine. I was trying everything to make it work with 1600 an finally after a lot of test I was passing by the SCAN parameters several times but compared to other examples they was higher, then I tried to change the SCAN parameters to a value used in other examples and the flash operations was working. The 1600ms was some remersens&lt;span&gt;&lt;/span&gt; from a project I&amp;nbsp; inherited from another project and I can fine live with the change in SCAN parameters, I was just curios if I had overlooked something otherwise it is a limitation in the SCAN parameters when using the flash and SD together.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, nRF5_SDK_15.1.0, running SD ,  problems using nrf_fstora_sd with scan interval  and scan window high like 1600.</title><link>https://devzone.nordicsemi.com/thread/151590?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 07:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f000b45-ae01-40ee-a031-d84924b4748b</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;try to set SCAN_WINDOW to 0x0050. And could you also please provide the error code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>