<?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 define more than one device (tree) node for QSPI driver</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109734/how-to-define-more-than-one-device-tree-node-for-qspi-driver</link><description>Hi 
 I&amp;#39;m not sure if this is a Zephyr question or related to nRf Connect SDK? 
 I want to define more than one serial flash memory device in the device tree. So different devices can be selected at run time depending on the product build options in manufacturing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Mar 2024 09:39:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109734/how-to-define-more-than-one-device-tree-node-for-qspi-driver" /><item><title>RE: How to define more than one device (tree) node for QSPI driver</title><link>https://devzone.nordicsemi.com/thread/476231?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 09:39:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36f8d720-468a-4e78-bd1f-72dab2e6f2bc</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The .zip file has now been removed, and I requested to put the case back to &amp;quot;Public&amp;quot; mode.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define more than one device (tree) node for QSPI driver</title><link>https://devzone.nordicsemi.com/thread/476230?ContentTypeID=1</link><pubDate>Sat, 23 Mar 2024 01:33:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a0e7a14-702d-47de-b34a-b56feef1c3f0</guid><dc:creator>Simon Third</dc:creator><description>&lt;p&gt;Hi Kazi,&lt;/p&gt;
&lt;p&gt;I see what you mean.&amp;nbsp; So basically, I need to update any relevant information for alternative parts in my application, which I can do by reading the alternate device info from the device tree.&amp;nbsp; But the starting point has to be the first node as this is used by the driver at compile time.&lt;/p&gt;
&lt;p&gt;If you could remove my project files (.zip) I can make it public again.&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define more than one device (tree) node for QSPI driver</title><link>https://devzone.nordicsemi.com/thread/476229?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 13:06:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1b73474-f22c-4ff8-a29e-68d83301e7e5</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;For nRF5340,&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;CSN is hardware controlled, and you can only add one qspi flash device under one QSPI.&amp;nbsp;it is a hardware restriction of the NRF_QSPI peripheral.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;what&amp;nbsp;you can do is to use the SPI peripheral instead, as this has support for software controlled CSN pin(s).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define more than one device (tree) node for QSPI driver</title><link>https://devzone.nordicsemi.com/thread/476228?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2024 09:23:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:450c9a5a-7fd1-4706-9637-ecf78be3c7f4</guid><dc:creator>Simon Third</dc:creator><description>&lt;p&gt;Thanks Kazi,&lt;/p&gt;
&lt;p&gt;To build you should use the nrf5340dk_nrf5340_cpuapp board.&amp;nbsp; Include &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;prj.conf &amp;amp; ble.conf &amp;amp; debug.conf&lt;/span&gt; and my overlay&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;nrf5340dk_nrf5340_cpuapp.overlay&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define more than one device (tree) node for QSPI driver</title><link>https://devzone.nordicsemi.com/thread/476227?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2024 08:50:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0369b477-e416-4bab-84e1-6561a911691f</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;I have made the case private. You can share the project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define more than one device (tree) node for QSPI driver</title><link>https://devzone.nordicsemi.com/thread/476226?ContentTypeID=1</link><pubDate>Sun, 10 Mar 2024 23:11:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5397a838-44a8-4c22-8d1f-5b4c41a46522</guid><dc:creator>Simon Third</dc:creator><description>&lt;p&gt;Hi Kazi,&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes I can give you my project, but could you make this ticket private please?&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define more than one device (tree) node for QSPI driver</title><link>https://devzone.nordicsemi.com/thread/476225?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2024 12:03:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b5b6880-e91d-4ca8-a6d6-ff69a01f3320</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;Can I look at your application? It shows from the warning that CNFIG_UART_CONSOLE got the value &amp;#39;&amp;#39;n&amp;#39;&amp;#39;. You can try to set this &amp;#39;&amp;#39;y&amp;#39;&amp;#39; or both config file of application and the config file of child image.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define more than one device (tree) node for QSPI driver</title><link>https://devzone.nordicsemi.com/thread/476224?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 21:33:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d97790c-32a5-4f6e-987f-0bd01959ed77</guid><dc:creator>Simon Third</dc:creator><description>&lt;p&gt;Hi Kazi,&lt;/p&gt;
&lt;p&gt;I still get the same result doing this.&amp;nbsp; I also get initial additional warning&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;unit address and first address in &amp;#39;reg&amp;#39; (0x0) don&amp;#39;t match for /soc/peripheral@50000000/qspi@2b000/w25q64jq@1&lt;/pre&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6712.Build-terminal-error-output-_4000_1.txt"&gt;devzone.nordicsemi.com/.../6712.Build-terminal-error-output-_4000_1.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m thinking that cmake is setup to only taking the first node when setting up the qspi driver?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define more than one device (tree) node for QSPI driver</title><link>https://devzone.nordicsemi.com/thread/476223?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 16:15:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61dd399e-123e-4383-b232-868b26ba7883</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have you tried to change the instance number from &amp;#39;0&amp;#39; to &amp;#39;1&amp;#39; on the second node?&lt;/span&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/6242.pastedimage1709223305918v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define more than one device (tree) node for QSPI driver</title><link>https://devzone.nordicsemi.com/thread/476222?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2024 05:00:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e2a0019-b143-4ed9-86e1-ee45a8dc48dd</guid><dc:creator>Simon Third</dc:creator><description>&lt;p&gt;Hi Kazi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Some files for your review&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1488.Build-terminal-error-output.txt"&gt;devzone.nordicsemi.com/.../1488.Build-terminal-error-output.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6278.zephyr.dts"&gt;devzone.nordicsemi.com/.../6278.zephyr.dts&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4617.devicetree_5F00_generated.h"&gt;devzone.nordicsemi.com/.../4617.devicetree_5F00_generated.h&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define more than one device (tree) node for QSPI driver</title><link>https://devzone.nordicsemi.com/thread/476221?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 13:22:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8dbda59-66cf-45c6-99ad-41faf198de63</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It needs to create child node when we define more than one device under one peripheral. Your device tree looks ok.&lt;/p&gt;
&lt;p&gt;Can you please share the error log? I also need to look at the zephyr.dts file from the application.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;br /&gt;Kazi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>