<?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>Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94895/using-external-flash-w25q64jv-with-nrf52840</link><description>We are using W25Q64JV with nrf52840 on our custom board. Here, we are able to Read/Write using QSPI but we are not able to write beyond a certain address. For example, we are able to write on address 0x1000 but we are not able to write on address 0x10000</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Jan 2023 12:12:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94895/using-external-flash-w25q64jv-with-nrf52840" /><item><title>RE: Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/thread/405224?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 12:12:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a620013d-0964-4663-853d-c41708a4279a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;No, I would advise against supplying the flash from GPIO. As stated in the &lt;a title="GPIO Electrical Specification" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/gpio.html?cp=4_0_0_5_8_2_0#unique_1957751294"&gt;GPIO Electrical Specification&lt;/a&gt;, the GPIOs can typically source a current of 9mA when configured in high drive mode, but the minimum is as low as 6mA.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It would be better to supply the flash from the VDD supply. If you need to&amp;nbsp;cut the power to the external flash, you can add a transistor or power switch to your circuit, that is controlled from a GPIO.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/thread/405208?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 11:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d737b19c-a4dc-4c5d-a6fb-14f5a3fa5cf0</guid><dc:creator>Om Trivedi</dc:creator><description>&lt;p&gt;Here is the &lt;a href="https://www.macronix.com/Lists/Datasheet/Attachments/8670/MX25V4035F,%202.5V,%204Mb,%20v1.2.pdf"&gt;Flash Datasheet&lt;/a&gt;&amp;nbsp;that I am using.&lt;br /&gt;&lt;br /&gt;It shows maximum of 10 mA current consumption on basic operation.&lt;br /&gt;&lt;br /&gt;Can we operate using GPIO supply?&lt;br /&gt;&lt;br /&gt;Please let us know!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/thread/405141?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 05:07:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8318105f-003a-4698-808e-e28eb71477e2</guid><dc:creator>Om Trivedi</dc:creator><description>&lt;p&gt;I have defined the pins in sdk_config.h in QSPI section !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/thread/405050?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 13:26:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71be9f26-0fdb-4137-a387-e9b9a23b3147</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Good to hear that you resolved the issue.&lt;/p&gt;
&lt;p&gt;It is generally not a good idea to power external devices through GPIOs, especially if the external device draws large peak currents.&lt;/p&gt;
&lt;p&gt;You can find the specifications for the GPIOs and maximum current draw in&amp;nbsp;&lt;a title="GPIO Electrical Specification" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/gpio.html?cp=4_0_0_5_8_2_0#unique_1957751294"&gt;GPIO Electrical Specification&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/thread/404932?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 06:52:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56352138-6115-454d-bc72-d647071a32fb</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/om-trivedi"&gt;Om Trivedi&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I am also under the process of testing same example. Where have you defined the SPI pins??&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you share your part of code where you have defined the SPI pins( MISO,MOSI,CLK,CS)??&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Snehal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/thread/404921?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 05:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9240798-546e-46f8-913f-a5a341206b9c</guid><dc:creator>Om Trivedi</dc:creator><description>&lt;p&gt;While debugging I found the issue we were using nrf52840 GPIO as a supply to the Flash chip which was not enough to operate flash.&lt;br /&gt;I tested it with an external supply it works fine now!&lt;br /&gt;&lt;br /&gt;Would you suggest using GPIO as a supply to the Flash chip?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/thread/404835?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 14:25:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3775fab7-e3d0-43ba-b0ec-37e7d87ce160</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I&amp;#39;m don&amp;#39;t know why that would happen.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you made sure that you have erased the page where you try to write the new data? Looks like you only erase the first 64 kB of the external flash in your code. This might also correspond to the 0x10000 address where you are not able to write.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/thread/403814?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2023 11:28:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c06a3ad-2b32-4477-a438-8086a7f4283a</guid><dc:creator>Om Trivedi</dc:creator><description>&lt;p&gt;I checked it, There is no issue in passing the address .&lt;br /&gt;&lt;br /&gt;I discovered I configure status register to unblock all the sectors of flash but after using&amp;nbsp;nrfx_qspi_lfm_start&lt;br /&gt;, the status register automatically resets to the default value which blocks certain sectors.&lt;br /&gt;&lt;br /&gt;Can you tell me why this is happening?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/thread/403712?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2023 06:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a38ccd4-926d-448b-bbdb-8f26a87ab49b</guid><dc:creator>Om Trivedi</dc:creator><description>&lt;p&gt;That&amp;#39;s a good point lemme check if that is the case.&lt;br /&gt;I will get back to you on this!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/thread/403639?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 15:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4e820de-2ee6-40be-b3b1-088150fbe4d8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If the issue happens exactly at address 0x10000, it sounds like there could be a problem somewhere in the code where the address is stored in a 16-bit variable (uint16_t). If this is the case, the address would wrap around to 0x0000. Have you checked if the data is stored elsewhere in the QSPI flash when writing something to address 0x10000?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/thread/402199?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2022 07:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9216e6f6-52b1-448e-a691-51d4ed8dc5a0</guid><dc:creator>Om Trivedi</dc:creator><description>&lt;p&gt;When I try to write on addresses above 10000, it is not able to write.&lt;br /&gt;I do not get any error code.&lt;br /&gt;Data does not get written to the flash for some reason.&lt;br /&gt;&lt;br /&gt;Can you help me out here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using external flash W25Q64JV with nrf52840</title><link>https://devzone.nordicsemi.com/thread/400895?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2022 14:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cc8f7ba-5150-4284-ab7d-660633e861c3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you elaborate more on what is not working when you write to higher addresses? Do you get an error code? Do the write hang? Does the data not get written to the flash?&amp;nbsp;&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>