<?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>Reading JEDEC ID External Flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71080/reading-jedec-id-external-flash</link><description>Hello, 
 I have an external flash w25q32 spi nor flash. I tried to communicate with my flash using spi_nor driver code in zephery however it didn&amp;#39;t detect the external flash saying &amp;quot;flash driver was not found&amp;quot; .The device get binding was returning false</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Feb 2021 15:26:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71080/reading-jedec-id-external-flash" /><item><title>RE: Reading JEDEC ID External Flash</title><link>https://devzone.nordicsemi.com/thread/296608?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 15:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3d7eee2-4029-4cdb-ace7-f30cb8cd4f31</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Can you check the position of the VDDIO switch? Is it in 3 V or 1.8 V mode? Look at &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/power_sources_vdd.html"&gt;this link&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading JEDEC ID External Flash</title><link>https://devzone.nordicsemi.com/thread/295304?ContentTypeID=1</link><pubDate>Fri, 19 Feb 2021 11:31:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e20d6a3d-73fd-4c38-9587-4e5223c03deb</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;Yes I did its working in loopback test. I tried it with 3 different nrf9160 boards just to be sure that I dont have any hardware problem but result is same for all of them. What might be the reason ot this? I am struggling with this issue for months.Could this be a problem because of my sdk version currently I am using v1.4.0 should I update it? I am not sure whether this makes sense but I am out of solution.&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading JEDEC ID External Flash</title><link>https://devzone.nordicsemi.com/thread/294810?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2021 11:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:236e34b4-ca90-47b2-be39-10a0b0123b7a</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Have you tried running the &lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/spi"&gt;SPI sample&lt;/a&gt;, to make sure the SPI driver is working properly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading JEDEC ID External Flash</title><link>https://devzone.nordicsemi.com/thread/294132?ContentTypeID=1</link><pubDate>Fri, 12 Feb 2021 11:13:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93356d47-25c5-4641-bcd6-b04bd0a6b474</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;Yes I put the break points inside spi_nor_conf and it enters the function withouth any problem. The problem is I can see everything on pins clk,mosi, and cs however I see nothing in miso in logic analyzer and I am sure that miso pin is working. I am running out of time and trying to find a solution to my problem for months. So any help would be helpful.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading JEDEC ID External Flash</title><link>https://devzone.nordicsemi.com/thread/293843?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 16:31:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f2f43ce-a6f3-4c05-94b1-bc1f92250a0b</guid><dc:creator>Hakon</dc:creator><description>[quote user="verulia"]I put the breakpoint before main and started debugging but it goes some functions(which is not spi_nor) and then returns.[/quote]
&lt;p&gt;&amp;nbsp;Did you put the breakpoint inside spi_nor_configure()? Does it not enter spi_nor_configure() at all? You need to check this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading JEDEC ID External Flash</title><link>https://devzone.nordicsemi.com/thread/293156?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2021 15:39:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a10b3990-4236-4873-a057-341a2dce4360</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how to find spi_nor_configure. I put the breakpoint before main and started debugging but it goes some functions(which is not spi_nor) and then returns. Can you guide me about this issue? Also the jedec id is not matching with the overlay hence device get binding returns false the problem is I can&amp;#39;t read the jedec id properly.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading JEDEC ID External Flash</title><link>https://devzone.nordicsemi.com/thread/293149?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2021 15:18:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8874472f-c50c-4c96-b6aa-2c69fad024c9</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;You need to find out what is happening inside the spi_nor_configure() call. That happens when the driver is initialized, before main() is started. When you try to get the device binding the error has likely already occurred. So you need to step through the code where the driver is initialized.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading JEDEC ID External Flash</title><link>https://devzone.nordicsemi.com/thread/292665?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2021 12:32:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e54a91e7-8e42-40c0-a8f6-4d74f752fa06</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;No, it is even not detecting the flash driver hence not moving any further in the code. The device get binding returns false thats why I wanted to try reading the jedec id on my own with SPİ transceive. I can&amp;#39;t figure out what might be the proble&amp;nbsp; I tested the flash with another microcontroller and I was able to read the jedec id with the same process however even with the spi nor driver I am not able to read the jedec id for this flash with nrf9160. I can observe the signals in spi bus it is sending 9f but receiving meaningless values hence I am also sure that spi bus is working meaning my pins are working fine too.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading JEDEC ID External Flash</title><link>https://devzone.nordicsemi.com/thread/292486?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 13:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a42e4823-82e6-40d1-932e-57c4f09598bb</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;are you able to read the JEDEC ID using the flash driver? You can check the output of &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/master/drivers/flash/spi_nor.c#L868"&gt;this function call&lt;/a&gt; when initializing the driver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>