<?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>NR5340DK + spi_flash example: mx25r6435f@0: device not ready</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109490/nr5340dk-spi_flash-example-mx25r6435f-0-device-not-ready</link><description>Hello, 
 I&amp;#39;m having an error when running the spi_flash example on a nrf5340DK. 
 I added this to the .conf file to have more info: 
 
 Here are the console logs: 
 
 I&amp;#39;m using ncs 2.5.2. Am I missing something to run this example?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Jul 2024 16:51:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109490/nr5340dk-spi_flash-example-mx25r6435f-0-device-not-ready" /><item><title>RE: NR5340DK + spi_flash example: mx25r6435f@0: device not ready</title><link>https://devzone.nordicsemi.com/thread/494424?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 16:51:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:857405fe-cd59-442f-9131-a0de8af928e0</guid><dc:creator>Chasen</dc:creator><description>&lt;p&gt;I was able to capture a couple of traces this morning, but could only do 2 at a time&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CLK(Blue) + SIO_0/SI(Red)&lt;/p&gt;
&lt;p&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/pastedimage1721233257068v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CLK(Blue) + SIO_0/SI(Red) -Zoomed&lt;/p&gt;
&lt;p&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/pastedimage1721233299620v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CLK(Blue) + SIO_1/SO(Red)&lt;/p&gt;
&lt;p&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/pastedimage1721233414507v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CLK(Blue) + SIO_1/SO(Red) - Zoomed&lt;/p&gt;
&lt;p&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/pastedimage1721233474259v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried slowing the clock down to see if it was a signal integrity issue, but does seems like 6MHz is the slowest I can go on the nRF53. If you have anything else I could try, let me know. In the mean time ill work on bringup of another board in hopes that it is a fault connection or chip.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NR5340DK + spi_flash example: mx25r6435f@0: device not ready</title><link>https://devzone.nordicsemi.com/thread/494288?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 08:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb7c320a-2676-44ab-87f4-37d053b5e2f5</guid><dc:creator>Chasen</dc:creator><description>&lt;p&gt;Hello Vidar, &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the quick response! Ill try and probe the additional signals and report back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NR5340DK + spi_flash example: mx25r6435f@0: device not ready</title><link>https://devzone.nordicsemi.com/thread/494284?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 07:39:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:353b0a70-efcc-4d16-9c35-6fa864a5a03f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The problem reported by the OP was likely caused by a QSPI NOR driver bug that was present in SDK v2.5.2. This bug was fixed in v2.5.3, which you are currently using.&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/pastedimage1721201139345v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Ref.&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/releases/release-notes-2.5.3.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/releases/release-notes-2.5.3.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Fix:&amp;nbsp;&lt;a id="" href="https://github.com/zephyrproject-rtos/zephyr/pull/71373/commits/2ece3803177a6b4567f6d8465bacb3a613d9a1ab"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/71373/commits/2ece3803177a6b4567f6d8465bacb3a613d9a1ab&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to probe the other two lines to check if the&amp;nbsp;flash is responding at all?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit:&amp;nbsp;&lt;/strong&gt;Forgot to add that nrfjprog&amp;nbsp;is only able to interface with the external flash when the standard pinout is used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NR5340DK + spi_flash example: mx25r6435f@0: device not ready</title><link>https://devzone.nordicsemi.com/thread/494279?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 07:17:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0f07896-61f4-4c48-859c-a20773a24a62</guid><dc:creator>Chasen</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am experiencing the same issue however it is on a custom board based n the nrf5340dk. The flash chip is the same as the one used on the dk. The only differrence is that I made a mistake in my schematic, and swapped CS and SCLK. I was able to swap them in the device tree and verified with a scope that the change registered properly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yellow - Clock input at chip&lt;/p&gt;
&lt;p&gt;Blue - CS input at chip&lt;/p&gt;
&lt;p&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/pastedimage1721199822406v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Left - nF5340DK schematic&lt;/p&gt;
&lt;p&gt;Right - Custom Board&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&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/pastedimage1721199923799v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;When I attempt to run the spi_flash example code I receive the following.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:70px;max-width:521px;" height="70" src="https://devzone.nordicsemi.com/resized-image/__size/1042x140/__key/communityserver-discussions-components-files/4/pastedimage1721199708476v1.png" width="521" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And when I attempt to run the erase flash command referenced above, I get an error. However I get the error when I attempted it on my nRF5340dk as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&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/pastedimage1721200019335v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;attached is the log.log after I run the command. &lt;/p&gt;
&lt;p&gt;Any suggestions would greatly be appreciated!&lt;/p&gt;
&lt;p&gt;Thank you in advance!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7848.log.log"&gt;devzone.nordicsemi.com/.../7848.log.log&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NR5340DK + spi_flash example: mx25r6435f@0: device not ready</title><link>https://devzone.nordicsemi.com/thread/475170?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 14:38:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faf7c696-38db-4d7a-b3e6-8c36d96ed312</guid><dc:creator>tcube</dc:creator><description>&lt;p&gt;It&amp;#39;s fixed the issue.&lt;br /&gt;&lt;br /&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NR5340DK + spi_flash example: mx25r6435f@0: device not ready</title><link>https://devzone.nordicsemi.com/thread/474960?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2024 18:34:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd71c355-dadd-4012-b740-b1e1883dfb06</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please try to run the example again after having erased the flash with nrfjprog:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/109469/nrf52840dk-qspi-flash-memory"&gt;nrf52840DK QSPI Flash memory&lt;/a&gt;&amp;nbsp;. That, or try to power-cycle the DK.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfjprog --qspieraseall -f nrf53&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>