<?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>Interfacing of nRF52840 with SPI based NOR flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64516/interfacing-of-nrf52840-with-spi-based-nor-flash</link><description>Hi, I was trying to interface nRF 52840 with a SPI based NOR flash (IS25LP064A). I am using SPI example in 16.0.0 sdk version. But i am not able to read the device id as this should be first step to start using the SPI nor flash to make sure every thing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Aug 2020 08:48:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64516/interfacing-of-nrf52840-with-spi-based-nor-flash" /><item><title>RE: Interfacing of nRF52840 with SPI based NOR flash</title><link>https://devzone.nordicsemi.com/thread/263372?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2020 08:48:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed51181c-900c-4084-80ca-caa7c92c0e8f</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Could you please elaborate on the following:&lt;br /&gt;- Are you working with one of the examples provided in the SDK? If so, which example?&lt;br /&gt;- Could you describe the behavior you are seeing when running the program, and how it differs from what you would have expected?&lt;br /&gt;- Is your program generating any errors, or is there just no response from the Flash memory?&lt;br /&gt;&lt;br /&gt;If you are working with an SDK example, and you have made any modifications to it, it would be beneficial if you could share the modifications you have made.&lt;br /&gt;&lt;br /&gt;Looking forward to resolving this issue together,&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing of nRF52840 with SPI based NOR flash</title><link>https://devzone.nordicsemi.com/thread/263168?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 09:59:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9176856-7603-4a66-8214-fa5ff019da79</guid><dc:creator>awneil</dc:creator><description>[quote userid="90752" url="~/f/nordic-q-a/64516/interfacing-of-nrf52840-with-spi-based-nor-flash/263165"]I dont have oscilloscope or analyser[/quote]
&lt;p&gt;Then how did you intend to test &amp;amp; debug this?&lt;/p&gt;
&lt;p&gt;Cheap logic analysers are available on ebay, etc, for ~ $10&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing of nRF52840 with SPI based NOR flash</title><link>https://devzone.nordicsemi.com/thread/263167?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 09:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32b8f310-c717-4cba-91a3-99101fb817b8</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;That&amp;#39;s not what I said.&lt;/p&gt;
&lt;p&gt;The SDK &lt;strong&gt;documentation&lt;/strong&gt; will tell you whether / how the CS is managed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing of nRF52840 with SPI based NOR flash</title><link>https://devzone.nordicsemi.com/thread/263165?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 09:44:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:241cfbb7-9594-4bc9-a093-84657466e970</guid><dc:creator>pradeepyadav</dc:creator><description>&lt;p&gt;How should i verify the combination? I dont have oscilloscope or analyser.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing of nRF52840 with SPI based NOR flash</title><link>https://devzone.nordicsemi.com/thread/263162?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 09:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65421bd9-5473-4a95-af4b-334f7384b29c</guid><dc:creator>pradeepyadav</dc:creator><description>&lt;p&gt;You mean to say sdk52 does not handle CS pin at software level.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing of nRF52840 with SPI based NOR flash</title><link>https://devzone.nordicsemi.com/thread/263154?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 09:20:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4566e5d5-04d4-4912-9323-3d8c2947e43b</guid><dc:creator>awneil</dc:creator><description>[quote userid="90752" url="~/f/nordic-q-a/64516/interfacing-of-nrf52840-with-spi-based-nor-flash/263151"]I would like to know, in which mode i have to manage CS pin[/quote]
&lt;p&gt;As always, You have to do whatever the&amp;nbsp;slave&amp;#39;s &lt;strong&gt;datasheet&lt;/strong&gt; tells you!&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But you say you have it working with Arduino,&amp;nbsp; so you must have already answered that question to get that working:&amp;nbsp; the slave neither knows nor cares what master you use - so it won&amp;#39;t change!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing of nRF52840 with SPI based NOR flash</title><link>https://devzone.nordicsemi.com/thread/263152?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 09:16:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bcd4f82-e470-4f89-a3f9-e3a3ad3ee56c</guid><dc:creator>awneil</dc:creator><description>[quote userid="90752" url="~/f/nordic-q-a/64516/interfacing-of-nrf52840-with-spi-based-nor-flash/263150"]I have verified both of them[/quote]
&lt;p&gt;So you&amp;#39;ve verified each one separately - but how have you verified the &lt;em&gt;combination&lt;/em&gt; of nRF52840 +&amp;nbsp;&lt;span&gt;IS25LP064A ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Show your schematic.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And, again:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What hardware are you using ?&lt;/li&gt;
&lt;li&gt;Have you stepped through the code, to see what&amp;#39;s happening inside the nRF52840 ?&lt;/li&gt;
&lt;li&gt;Have you used an oscilloscope or analyser to see what&amp;#39;s happening on the wires ?&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing of nRF52840 with SPI based NOR flash</title><link>https://devzone.nordicsemi.com/thread/263151?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 09:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd764f66-eb04-4ed4-b9f1-5d6cd1ccdf45</guid><dc:creator>pradeepyadav</dc:creator><description>&lt;p&gt;I would like to know, in which mode i have to manage CS pin. The SPI device that i am using supports mode 0 and mode 3.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing of nRF52840 with SPI based NOR flash</title><link>https://devzone.nordicsemi.com/thread/263150?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 09:10:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dc34a56-1949-444d-a008-e2a7ee20a95f</guid><dc:creator>pradeepyadav</dc:creator><description>&lt;p&gt;Hi thanks for quick reply.&lt;/p&gt;
&lt;p&gt;I am using nRF52840 and NOR flash (&lt;span&gt;IS25LP064A).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have verified both of them, I have check the flash with arduino, could able to read the device id.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have tried to use two nrf52840 one as master and other as slave, that also worked fine.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing of nRF52840 with SPI based NOR flash</title><link>https://devzone.nordicsemi.com/thread/263125?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 08:02:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19d6a093-bf76-4374-b99b-a07eca2c4597</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So what &lt;strong&gt;debugging&lt;/strong&gt; have you done to find what&amp;#39;s going on?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What hardware are you using ?&lt;/li&gt;
&lt;li&gt;How have you verified your hardware ?&lt;/li&gt;
&lt;li&gt;Have you stepped through the code, to see what&amp;#39;s happening inside the nRF52840 ?&lt;/li&gt;
&lt;li&gt;Have you used an oscilloscope or analyser to see what&amp;#39;s happening on the wires ?&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>