<?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>Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114549/erasing-4kb-qspi-ext-flash-block-takes-too-long-700---900-millisec</link><description>NRF52840 running 17.1 SDK and using QSPI interface to erase a block of memory from AT25FF321A external flash IC. 
 When we call erase it takes 930 millisec to finish erasing a 4kb block. The IC datasheet says it should only take 45 millisec or something</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Sep 2024 18:35:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114549/erasing-4kb-qspi-ext-flash-block-takes-too-long-700---900-millisec" /><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/502816?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2024 18:35:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71eacb77-2a56-4cd8-814f-540d1dc10569</guid><dc:creator>jthmp</dc:creator><description>&lt;p&gt;ok I&amp;#39;ll get that and I&amp;#39;ll check&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/502687?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2024 06:55:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fffd97d-9609-4599-9f48-8e8fb507c71f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Joshua,&amp;nbsp;&lt;br /&gt;Could you capture longer trace to see how it goes with the erase. I would expect to see the nRF52 continuously poll the external flash for status until the status show it&amp;#39;s ready. If it&amp;#39;s the case I am not sure what can we do to improve that. &lt;br /&gt;Please check if there is any option in the external flash for example &amp;quot;high performance&amp;quot; more or something ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/502646?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2024 17:43:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f07b3863-6380-4990-91db-6a67d8569e8b</guid><dc:creator>jthmp</dc:creator><description>&lt;p&gt;Hi, we just tried that&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint32_t                   start    = xTaskGetTickCount();
    nrf_qspi_addrconfig_conf_t addr_cfg = {
        .opcode = 0xB7, .byte0 = 0, .byte1 = 0, .mode = 0, .wipwait = true, .wren = true};
    nrf_qspi_addrconfig_set(NRF_QSPI, &amp;amp;addr_cfg);
    sys_delay_ms(10);
    nrfx_err_t nrf_err = nrfx_qspi_erase(NRF_QSPI_ERASE_LEN_4KB, 0x00041000);

    while (NRFX_SUCCESS != nrfx_qspi_mem_busy_check())
        ;
    uint32_t end = xTaskGetTickCount();
    NRF_LOG_INFO(&amp;quot;Elapsed: %lu addr: %p&amp;quot;, end - start, start_address);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;but still 920 millisec&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, we looked on the scope and here are the results when only using&amp;nbsp;nrfx_qspi_erase (no&amp;nbsp;nrf_qspi_addrconfig_set).&lt;/p&gt;
&lt;p&gt;It looks like the nrf sdk DOES send the 0x06 wren command during erase automatically&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5635.image.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/502563?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2024 08:08:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a3ee514-6644-4140-a99f-4a40dc585792</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Joshua,&amp;nbsp;&lt;br /&gt;Could you try this:&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;    nrf_qspi_addrconfig_conf_t addr_cfg = {
        .opcode    = 0xB7,
        .byte0     = 0 ,
        .byte1     = 0,
        .mode      = 0,
        .wipwait   = true,
        .wren      = true
    };
    nrf_qspi_addrconfig_set(NRF_QSPI,&amp;amp;addr_cfg);&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;As I mentioned, please try to verify the operation using a&lt;a href="https://www.google.com/search?q=logic+analyzer"&gt; logic analyzer&lt;/a&gt;. It would save you a lot of time.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/502516?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2024 16:12:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:182711ce-57c7-4911-8878-f46defb43b34</guid><dc:creator>jthmp</dc:creator><description>&lt;p&gt;Or would it be something like this?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;// save current reg value&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;uint32_t config = QSPI-&amp;gt;ADDRCONF;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;// add wren&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;bool wren = true;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;config |= (wren ? 1U : 0U) &amp;lt;&amp;lt; QSPI_ADDRCONF_WREN_Pos;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;// update register&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;QSPI-&amp;gt;ADDRCONF = config;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;// send erase&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;nrfx_err_t nrf_err = nrfx_qspi_erase(NRF_QSPI_ERASE_LEN_4KB, start_address);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;// wait for completion code here&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/502514?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2024 16:05:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c7855ae-570c-428f-b477-cd3083722d3e</guid><dc:creator>jthmp</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Ok so could you provide an example process?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;would it be like this?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrf_qspi_addrconfig_set( WHAT GOES HERE ?);&lt;/span&gt;&lt;br /&gt;&lt;span&gt;nrfx_err_t nrf_err = nrfx_qspi_erase(NRF_QSPI_ERASE_LEN_4KB, start_address);&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/502450?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2024 09:21:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59afd4c4-f6e2-4b07-ac17-bb4d8bc921d8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Joshua,&amp;nbsp;&lt;br /&gt;As far as I know by default WREN is not sent. If you want to send WREN you would need to set WREN to 1 in&amp;nbsp;ADDRCONF register. In the code it&amp;#39;s done by calling&amp;nbsp;nrf_qspi_addrconfig_set().&amp;nbsp;&lt;br /&gt;I was suggesting that you should use the logic analyzer to verify the QSPI operation is correct. Please consider that.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/502402?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 22:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f8e3e76-e431-434b-be8a-38e36d65b889</guid><dc:creator>jthmp</dc:creator><description>&lt;p&gt;ok,&lt;/p&gt;
&lt;p&gt;by the way,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;using the standard nrf erase method:&lt;br /&gt;nrfx_err_t nrf_err = nrfx_qspi_erase(NRF_QSPI_ERASE_LEN_4KB, start_address);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;will the function &amp;#39;&lt;span&gt;nrfx_qspi_erase&amp;#39; automatically send the wren (0x06) cmd before calling the erase cmd?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/502300?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 12:21:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ea2d409-3c56-4f86-8397-597e0c1d0236</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Joshua,&amp;nbsp;&lt;br /&gt;As long as&amp;nbsp; you use our library directly you shouldn&amp;#39;t have a problem using the nRF52 on the Laird&amp;#39;s module.&amp;nbsp;&lt;br /&gt;When you change the QSPI pin, please make sure you follow the guideline on which pin should be used for QSPI.&amp;nbsp;&lt;br /&gt;I can see you are using some pins that clearly noted &amp;quot;low frequency I/O only&amp;quot; please try avoid that. Please check the spec for the detail list:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1726143649824v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/502197?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2024 21:35:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b34b2b36-3018-4dd5-917b-72dee6334133</guid><dc:creator>jthmp</dc:creator><description>&lt;p&gt;I have the nrf52840 dev kit so will try.&lt;/p&gt;
&lt;p&gt;also, we are not using the standard nrf qspi pins, does that make a difference?&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO_SPI_MISO&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;6u&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;// SIO_6 = NVM SPI MISO input pin (QSPI = IO1)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO_SPI_CLK&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;7u&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;// SIO_7 = NVM SPI CLK output pin&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO_SPI_MOSI&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;8u&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;// SIO_8 = NVM SPI MOSI output pin (QSPI = IO0)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO_SPI_IO3&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;9u&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;// SIO_9 = NVM SPI IO3 pin&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO_SPI_IO2&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;10u&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;// SIO_10 = NVM SPI IO2 pin&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;also, not sure if it makes a difference but our nrf52840 core is integrated into&amp;nbsp;the Laird Connectivity&amp;nbsp;&lt;span&gt;BL654 module...&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/502050?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2024 07:57:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c91156a-5016-4bfe-b3a1-c45fdc1f19c0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Joshua,&amp;nbsp;&lt;br /&gt;I don&amp;#39;t see any issue with the code and the driver for QSPI. It could be that it&amp;#39;s the performance issue with the external flash.&amp;nbsp;&lt;br /&gt;Have you tried to test with the external flash on the DK ? From the datasheet it should take less than 240ms for 4kB erase.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/501988?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 17:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1572f9a-9876-49cc-aa92-fcf348229f8c</guid><dc:creator>jthmp</dc:creator><description>&lt;p&gt;Yeah, I tried checking the&amp;nbsp;&lt;span&gt;nrf_drv_qspi_mem_busy_check every 5 millisec to put some time in between but that didn&amp;#39;t change anything.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I tried 32kb erase it took 7.5 seconds which is way over the spec of the datasheet.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/501866?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 09:25:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ea4be38-6327-4713-a30f-2c189014f343</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Joshua,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Have you tried to use the logic analyzer to capture how the process goes ?&amp;nbsp;&lt;br /&gt;If the nRF52 is doing it correctly that it sends WREN and then send&amp;nbsp;Block Erase command 0x20 then continuously check the status (nrf_drv_qspi_mem_busy_check) to know when the&amp;nbsp;AT25FF321A finish erasing then I don&amp;#39;t see the problem on the nRF52&amp;#39;s side here.&amp;nbsp;&lt;br /&gt;You can try to change how often the status bit is checked , there could be a chance that sending too much of that causing a problem&amp;nbsp; ? Or if there is a problem when doing&amp;nbsp;nrf_drv_qspi_mem_busy_check() that it&amp;#39;s not called for 900ms ?&lt;br /&gt;&lt;br /&gt;Have you tried to do a 32kB erase to see how long it takes ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/501810?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2024 21:50:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb42ffc9-2b42-4699-93fb-fb0b204f6878</guid><dc:creator>jthmp</dc:creator><description>&lt;p&gt;Here is our erase function using the custom transfer command instead of the standard nrf qspi erase.&lt;/p&gt;
&lt;p&gt;It still takes 920 millisec even when explicitly calling wren = true&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static NVM_ERROR erase_qspi_command(uint8_t cmd, uint32_t address, bool wren)
{
    uint8_t cmd_buffer[3]; //3 bytes for address

    cmd_buffer[0] = (address &amp;gt;&amp;gt; 16) &amp;amp; 0xFF;
    cmd_buffer[1] = (address &amp;gt;&amp;gt; 8) &amp;amp; 0xFF;
    cmd_buffer[2] = address &amp;amp; 0xFF;

    nrf_qspi_cinstr_conf_t cinstr_cfg = {.opcode    = 0x20, //4kb block erase
                                         .length    = 4, // Command + Address
                                         .io2_level = true,
                                         .io3_level = true,
                                         .wipwait   = false,
                                         .wren      = wren};

    nrfx_err_t nrf_err = nrfx_qspi_cinstr_xfer(&amp;amp;cinstr_cfg, cmd_buffer, NULL);
    while (NRFX_SUCCESS != nrf_drv_qspi_mem_busy_check());
    //This takes 920 millisec to finish
    return nrf_err;
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/501790?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2024 16:10:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d70e4a1-96f3-45ea-a1c4-b1881e059172</guid><dc:creator>jthmp</dc:creator><description>&lt;p&gt;I can check the signal on a scope but the other qspi functions write and read work just fine (though I haven&amp;#39;t measured the execution time). The qspi speed is set to 16mhz.&lt;/p&gt;
&lt;p&gt;Also, the erase does work without us setting the wren bit and just using the default nrf qspi erase function:&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;nrfx_qspi_erase.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;It seems like wren&amp;nbsp;is taken care of by the nrf qspi erase function in the sdk? Is this not the case?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If not, can you show me an example of sending the wren cmd using the 17.1 nrf sdk?&lt;br /&gt;&lt;br /&gt;or if possible can you show me an example of using&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;nrfx_qspi_cinstr_xfer to create a custom erase function? I&amp;#39;ve tried but same behavior.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erasing 4kb QSPI ext flash block takes too long 700 - 900 millisec</title><link>https://devzone.nordicsemi.com/thread/501750?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2024 13:02:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65c88b25-5e79-4c59-a035-d65fa2dc102d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Joshua,&amp;nbsp;&lt;br /&gt;Could you try to use a logic analyzer to capture the erase process ? This way we can find what causing the long erase time.&lt;br /&gt;I did a quick look at the datasheet of the &lt;span&gt;AT25FF321A&amp;nbsp;&lt;/span&gt;and it seems to be longer than 45ms ?&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1725886834416v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would also want to check if the write enable is sent before the block erase command.&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1725886922241v4.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>