<?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>How to Read &amp;amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116804/how-to-read-write-onto-the-external-flash-integrated-in-nrf7002dk</link><description>I have an nRF7002dk &amp;amp; its datasheet mentions that there is a 64 Mb external flash memory. The memory is connected through a regular highspeed Serial Peripheral Interface (SPI) . The memory is connected to the chip using the following General-Purpose Input</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Dec 2024 11:00:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116804/how-to-read-write-onto-the-external-flash-integrated-in-nrf7002dk" /><item><title>RE: How to Read &amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/thread/513171?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2024 11:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:697ffbd0-32af-42e8-b41f-c54fdae22ddc</guid><dc:creator>Obaid Mufiz</dc:creator><description>&lt;p&gt;No problem.&lt;br /&gt;&lt;br /&gt;Thanks for the input.&lt;br /&gt;&lt;br /&gt;You may close this ticket now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Read &amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/thread/513160?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2024 10:20:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ef15f29-3a9a-4da0-98ea-5b48c14d2c6e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Glad to hear it is working now!&lt;/p&gt;
&lt;p&gt;My deepest apologies for not seeing this issue before recently. Hope you have a wonderful day!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Read &amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/thread/513104?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2024 05:02:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14a9570f-0d14-4b5a-b287-e65dbc1740a6</guid><dc:creator>Obaid Mufiz</dc:creator><description>&lt;p&gt;Thanks a lot.&lt;br /&gt;&lt;br /&gt;It worked now with that commit.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;mx25r6435f@0 SPI flash testing&lt;br /&gt;==========================&lt;/p&gt;
&lt;p&gt;Perform test on single sector&lt;br /&gt;Test 1: Flash erase&lt;br /&gt;Flash erase succeeded!&lt;/p&gt;
&lt;p&gt;Test 2: Flash write&lt;br /&gt;Attempting to write 4 bytes&lt;br /&gt;Data read matches data written. Good!!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Read &amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/thread/513027?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 15:24:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3c35515-fb81-4d98-b1a5-877955cde50c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My apologies, I was testing on a different SDK version.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The problem is the naming in the spi_flash/src/main.c file, where it should pick up on the &amp;quot;jedec,spi-nor&amp;quot; compatible type.&lt;/p&gt;
&lt;p&gt;Could you try this specific commit and see if it works?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/commit/54e61b025e43136df285c611488a1304a787a795"&gt;https://github.com/nrfconnect/sdk-zephyr/commit/54e61b025e43136df285c611488a1304a787a795&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Read &amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/thread/512923?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 10:22:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaf5a889-ee02-4532-95cc-64f8bf58fcac</guid><dc:creator>Obaid Mufiz</dc:creator><description>&lt;p&gt;I&amp;#39;m attaching it to doc since there is a word limit for the comments.&lt;br /&gt;Click here:&amp;nbsp;&lt;a href="https://drive.google.com/file/d/16tPfN5CYRuF2JEdVrg6IvFr0G5cbD9KN/view?usp=drive_link"&gt;drive.google.com/.../view&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Read &amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/thread/512916?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 10:01:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5988cdeb-847e-4e41-b62f-3471f75090c1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you please share the full log output?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Read &amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/thread/512911?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 09:43:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad2821b6-7591-4db4-8408-934a1c033ec0</guid><dc:creator>Obaid Mufiz</dc:creator><description>&lt;p&gt;Tried building it without an overlay &amp;amp; these are the errors I got when I built it with nrf7002dk/nrf5340/cpuapp board:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;build stopped: subcommand failed.&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\nordic\myApps\spi_flash\build&amp;#39;&lt;/p&gt;
&lt;p&gt;* The terminal process terminated with exit code: 1. &lt;br /&gt; * Terminal will be reused by tasks, press any key to close it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;However when I build it with&amp;nbsp;nrf5340dk/nrf5340/cpuapp&amp;nbsp;board it is successfully build, no errors whatsoever.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Read &amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/thread/512906?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 09:32:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e04c1c48-ff59-48f1-96f3-d079d8376fc4</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try compiling the sample. It does not need an overlay, because the SPI flash is already setup in the board-files themselves.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Read &amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/thread/512899?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 09:16:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7837572d-5e08-48d9-8710-d3e6befe6cab</guid><dc:creator>Obaid Mufiz</dc:creator><description>&lt;p&gt;Hey there,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Yes I did try that but there isn&amp;#39;t an option for the&amp;nbsp;&lt;span&gt;nrf7002dk/nrf5340/cpuapp board for this sample.&lt;br /&gt;Check this out:&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/pastedimage1733130967441v1.png" alt=" " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Read &amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/thread/512600?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2024 14:12:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51431641-0a81-4672-a438-45f29376a5a2</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you try to run the zephyr/samples/drivers/spi_flash for nrf7002dk/nrf5340/cpuapp board?&lt;/p&gt;
&lt;p&gt;It should work out-of-the-box:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v2.8.0-a2386bfc8401 ***
*** Using Zephyr OS v3.7.99-0bc3393fb112 ***

mx25r6435f@0 SPI flash testing
==========================

Perform test on single sector
Test 1: Flash erase
Flash erase succeeded!

Test 2: Flash write
Attempting to write 4 bytes
Data read matches data written. Good!!
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you get any errors or similar, could you please share those?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Read &amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/thread/512503?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2024 07:10:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bca87a6-7581-4d33-a8d3-9e5b119fcc72</guid><dc:creator>Obaid Mufiz</dc:creator><description>&lt;p&gt;Thanks for the input.&lt;br /&gt;&lt;br /&gt;That&amp;#39;s exactly what my question is.&lt;br /&gt;&lt;br /&gt;I need to know what changes I need to be making in the configuration files in order to test this out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Read &amp; Write onto the External Flash integrated in nRF7002dk</title><link>https://devzone.nordicsemi.com/thread/512501?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2024 07:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c9cfed8-c859-4a5a-b66a-6a7350ea5035</guid><dc:creator>ujur007</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You should wait for official reply from Nordic team but I have the same kit and looked at the documentation for the DK.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;There it seems you need not change anything in the hardware to get the External chip working it is connected on SPI interface. You only need to do some modifications in case you want to change power domain and measure the current consumption by the Chip as well.&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/Screenshot_5F00_2024_2D00_11_2D00_28_5F00_12_2D00_33_2D00_48.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ug_nrf7002_dk/page/UG/nrf7002_DK/hw_external_memory.html"&gt;https://docs.nordicsemi.com/bundle/ug_nrf7002_dk/page/UG/nrf7002_DK/hw_external_memory.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>