<?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 serial flash W25Q32 with nRF52833dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83797/interfacing-serial-flash-w25q32-with-nrf52833dk</link><description>Hi, I am trying to develop an nCS application with serial flash interface, I am using an nRF52833dk &amp;amp; I observed that under the nCS path &amp;quot;v1.8.0\zephyr\drivers\flash&amp;quot; There is zephyr provided drivers for serial flash, namely &amp;quot;spi_nor&amp;quot;. Though i found</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Jan 2022 06:31:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83797/interfacing-serial-flash-w25q32-with-nrf52833dk" /><item><title>RE: Interfacing serial flash W25Q32 with nRF52833dk</title><link>https://devzone.nordicsemi.com/thread/348833?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 06:31:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dea999c3-157c-4e67-ba5e-3bdfa581d1a4</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/kme"&gt;Kenneth&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;I need to connect two serial flash ICs, one &amp;quot;w25q32jv&amp;quot; and another&amp;nbsp;&lt;span&gt;&amp;quot;IS25LQ040B&amp;quot;, on the same SPI peripheral like &amp;amp;spi3 {&lt;br /&gt;&lt;br /&gt;1. Kindly suggest how my dts file will look like in this case..?&lt;br /&gt;2. And how will my main.c with serial flash operations will look like..?&lt;br /&gt;&lt;br /&gt;Request you to help me with a sample project for the same&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ubaid&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing serial flash W25Q32 with nRF52833dk</title><link>https://devzone.nordicsemi.com/thread/348513?ContentTypeID=1</link><pubDate>Wed, 19 Jan 2022 13:19:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:192e294c-a42c-4c85-aeff-c47a0f3e284e</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/kme"&gt;Kenneth&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;Many Thanks,&lt;br /&gt;&lt;br /&gt;This is what I needed:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi3 {
	compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	sck-pin = &amp;lt; 11 &amp;gt;;
	mosi-pin = &amp;lt; 9 &amp;gt;;
	miso-pin = &amp;lt; 28 &amp;gt;;
	cs-gpios = &amp;lt; &amp;amp;gpio0 7 GPIO_ACTIVE_LOW &amp;gt;;
	w25q32jv: w25q32jv@0 {
		compatible = &amp;quot;jedec,spi-nor&amp;quot;;
		label = &amp;quot;W25Q32JV&amp;quot;;
		reg = &amp;lt; 0 &amp;gt;;
		spi-max-frequency = &amp;lt; 40000000 &amp;gt;;
		wp-gpios = &amp;lt; &amp;amp;gpio0 8 GPIO_ACTIVE_LOW &amp;gt;;
		hold-gpios = &amp;lt; &amp;amp;gpio0 10 GPIO_ACTIVE_LOW &amp;gt;;
		size = &amp;lt; 0x2000000 &amp;gt;;
		has-dpd;
		t-enter-dpd = &amp;lt; 3000 &amp;gt;;
		t-exit-dpd = &amp;lt; 30000 &amp;gt;;
		jedec-id = [ ef 40 16  ];
	};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. Can you kindly point me on how the dts declaration will change, if I am using &amp;quot;IS25LQ040B&amp;quot;..?&lt;/p&gt;
&lt;p&gt;2. Please help me with the main.c code as well for serial flash operations, I couldn&amp;#39;t find it in&amp;nbsp;&lt;/p&gt;
[quote userid="2111" url="~/f/nordic-q-a/83797/interfacing-serial-flash-w25q32-with-nrf52833dk/348493#348493"]Can you take a look at this thread?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ubaid&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing serial flash W25Q32 with nRF52833dk</title><link>https://devzone.nordicsemi.com/thread/348493?ContentTypeID=1</link><pubDate>Wed, 19 Jan 2022 12:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0a06e46-b976-4348-888a-a5aff221fe6d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can you take a look at this thread?&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/81887/nrf9160-spi-flash-for-cellular-firmware-download/342527#342527"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/81887/nrf9160-spi-flash-for-cellular-firmware-download/342527#342527&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In principle the same approach should work for the nRF52833. For the nRF52833 you likely should use eitehr spi1 or spi3, since&amp;nbsp;those are enabled by default (status =&amp;quot;okay&amp;quot;;):&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833.dts#L182"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833.dts#L182&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>