<?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>Zephyr Driver: Regarding the execution speed of flash read API at nrf54l15</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128216/zephyr-driver-regarding-the-execution-speed-of-flash-read-api-at-nrf54l15</link><description>Hi, 
 I&amp;#39;m reading 1 byte of data from a Macronics MX25R64, but the execution speed of the read operation varies depending on the SDK version. 
 With SDK 3.1.1, it&amp;#39;s possible to read one byte of data in about 60us. 
 SDK 3.2.4 reads one byte of data in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 24 May 2026 23:37:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128216/zephyr-driver-regarding-the-execution-speed-of-flash-read-api-at-nrf54l15" /><item><title>RE: Zephyr Driver: Regarding the execution speed of flash read API at nrf54l15</title><link>https://devzone.nordicsemi.com/thread/566809?ContentTypeID=1</link><pubDate>Sun, 24 May 2026 23:37:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:845206b1-b975-4388-8316-21209acdaf69</guid><dc:creator>H-ogawa</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,Vidar&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your response.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Since it has been resolved, I will close this issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hiroki&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Driver: Regarding the execution speed of flash read API at nrf54l15</title><link>https://devzone.nordicsemi.com/thread/566772?ContentTypeID=1</link><pubDate>Fri, 22 May 2026 11:24:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72fa864a-cc60-4241-9bb4-98fad48e7b2c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Good to hear, thanks for the update.&lt;/p&gt;
[quote user="H-ogawa"]Is this a kconfig entry added because the specifications for the Zephyr driver have changed?[/quote]
&lt;p&gt;The &amp;quot;why&amp;quot; is summarised in the commit message here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/commit/61a9d6aa45868d65b4d24c257a2799a62fb9d32d"&gt;https://github.com/nrfconnect/sdk-zephyr/commit/61a9d6aa45868d65b4d24c257a2799a62fb9d32d&lt;/a&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/pastedimage1779449004576v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Your original version already had CONFIG_PM_DEVICE_RUNTIME enabled, but that did not do anything for the SPI NOR driver since we aren&amp;#39;t including the &amp;quot;&lt;span&gt;zephyr,pm-device-runtime-auto&amp;quot;&lt;/span&gt;&amp;nbsp;property in the SPI node by default.&lt;/p&gt;
[quote user="H-ogawa"]Also, since this config is for automatic power control, even if I turn it off, I can still put it into low power mode using the pm_device API, right?[/quote]
&lt;p&gt;Yes, you can.&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><item><title>RE: Zephyr Driver: Regarding the execution speed of flash read API at nrf54l15</title><link>https://devzone.nordicsemi.com/thread/566761?ContentTypeID=1</link><pubDate>Fri, 22 May 2026 10:01:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8649654-a8d2-4ff2-b41c-d98a357d03aa</guid><dc:creator>H-ogawa</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,Vidar&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The problem has been solved.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You&amp;#39;re right, the startup was slow because of power control.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Is this a kconfig entry added because the specifications for the Zephyr driver have changed?&lt;/p&gt;
&lt;p&gt;In which source code of the Zephyr driver is this kconfig referenced?&lt;/p&gt;
&lt;p&gt;Also, since this config is for automatic power control, even if I turn it off, I can still put it into low power mode using the pm_device API, right?&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><item><title>RE: Zephyr Driver: Regarding the execution speed of flash read API at nrf54l15</title><link>https://devzone.nordicsemi.com/thread/566760?ContentTypeID=1</link><pubDate>Fri, 22 May 2026 09:45:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e64ec46a-2924-4176-b7ff-83298edc409a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thank you. One difference&amp;nbsp;that stands out is that the new version has this config setting enabled:&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/3124.pastedimage1779442989480v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;With this option, the flash IC is automatically put into DPD mode between use. Could you please try disabling this?&lt;/p&gt;
&lt;p&gt;DTS diff (the new version still has DPD enabled):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="diff"&gt;		/* node &amp;#39;/soc/peripheral@50000000/spi@4a000&amp;#39; defined in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:132 */
+			/* node &amp;#39;/soc/peripheral@50000000/spi@4a000&amp;#39; defined in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:135 */
 			spi00: spi@4a000 {
-				compatible = &amp;quot;nordic,nrf-spim&amp;quot;; /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:139 */
-				#address-cells = &amp;lt; 0x1 &amp;gt;;       /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:140 */
-				#size-cells = &amp;lt; 0x0 &amp;gt;;          /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:141 */
-				reg = &amp;lt; 0x4a000 0x1000 &amp;gt;;       /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:142 */
-				interrupts = &amp;lt; 0x4a 0x1 &amp;gt;;      /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:143 */
-				max-frequency = &amp;lt; 0x1e84800 &amp;gt;;  /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:144 */
-				easydma-maxcnt-bits = &amp;lt; 0x10 &amp;gt;; /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:145 */
-				rx-delay-supported;             /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:146 */
-				rx-delay = &amp;lt; 0x1 &amp;gt;;             /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:147 */
+				compatible = &amp;quot;nordic,nrf-spim&amp;quot;; /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:142 */
+				#address-cells = &amp;lt; 0x1 &amp;gt;;       /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:143 */
+				#size-cells = &amp;lt; 0x0 &amp;gt;;          /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:144 */
+				reg = &amp;lt; 0x4a000 0x1000 &amp;gt;;       /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:145 */
+				interrupts = &amp;lt; 0x4a 0x1 &amp;gt;;      /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:146 */
+				max-frequency = &amp;lt; 0x1e84800 &amp;gt;;  /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:147 */
+				easydma-maxcnt-bits = &amp;lt; 0x10 &amp;gt;; /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:148 */
+				rx-delay-supported;             /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:149 */
+				rx-delay = &amp;lt; 0x1 &amp;gt;;             /* in zephyr/dts/vendor/nordic/nrf54l_05_10_15.dtsi:150 */
 				status = &amp;quot;okay&amp;quot;;                /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:65 */
 				cs-gpios = &amp;lt; &amp;amp;gpio2 0x5 0x1 &amp;gt;;  /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:66 */
 				pinctrl-0 = &amp;lt; &amp;amp;spi00_default &amp;gt;; /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:67 */
@@ -270,394 +271,389 @@
 
 				/* node &amp;#39;/soc/peripheral@50000000/spi@4a000/mx25r6435f@0&amp;#39; defined in zephyr/boards/nordic/nrf54l15dk/nrf54l_05_10_15_cpuapp_common.dtsi:121 */
 				mx25r64: mx25r6435f@0 {
-					compatible = &amp;quot;jedec,spi-nor&amp;quot;;                                                                                                                                                                                   /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:72 */
-					status = &amp;quot;okay&amp;quot;;                                                                                                                                                                                                /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:73 */
-					reg = &amp;lt; 0x0 &amp;gt;;                                                                                                                                                                                                  /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:74 */
-					spi-max-frequency = &amp;lt; 0x7a1200 &amp;gt;;                                                                                                                                                                               /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:75 */
-					jedec-id = [ C2 28 17 ];                                                                                                                                                                                        /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:76 */
-					sfdp-bfp = [ E5 20 F1 FF FF FF FF 03 44 EB 08 6B 08 3B 04 BB EE FF FF FF FF FF 00 FF FF FF 00 FF 0C 20 0F 52 10 D8 00 FF 23 72 F5 00 82 ED 04 CC 44 83 48 44 30 B0 30 B0 F7 C4 D5 5C 00 BE 29 FF F0 D0 FF FF ]; /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:77 */
-					size = &amp;lt; 0x4000000 &amp;gt;;                                                                                                                                                                                           /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:83 */
-					has-dpd;                                                                                                                                                                                                        /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:84 */
-					t-enter-dpd = &amp;lt; 0x2710 &amp;gt;;                                                                                                                                                                                       /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:85 */
-					t-exit-dpd = &amp;lt; 0x88b8 &amp;gt;;                                                                                                                                                                                        /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:86 */
+					reset-gpios = &amp;lt; &amp;amp;gpio2 0x0 0x1 &amp;gt;;                                                             /* in zephyr/boards/nordic/nrf54l15dk/nrf54l_05_10_15_cpuapp_common.dtsi:137 */
+					compatible = &amp;quot;jedec,spi-nor&amp;quot;;                                                                 /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:72 */
+					status = &amp;quot;okay&amp;quot;;                                                                              /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:73 */
+					reg = &amp;lt; 0x0 &amp;gt;;                                                                                /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:74 */
+					spi-max-frequency = &amp;lt; 0x7a1200 &amp;gt;;                                                             /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:75 */
+					jedec-id = [ C2 28 17 ];                                                                      /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:76 */
+					sfdp-bfp = [ E5 20 F1 FF FF FF FF 03 44 EB 08 6B 08 3B 04 BB EE FF FF FF FF FF 00 FF FF FF 00
+					             FF 0C 20 0F 52 10 D8 00 FF 23 72 F5 00 82 ED 04 CC 44 83 48 44 30 B0 30 B0 F7 C4
+					             D5 5C 00 BE 29 FF F0 D0 FF FF ];                                                 /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:77 */
+					size = &amp;lt; 0x4000000 &amp;gt;;                                                                         /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:83 */
+					has-dpd;                                                                                      /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:84 */
+					t-enter-dpd = &amp;lt; 0x2710 &amp;gt;;                                                                     /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:85 */
+					t-exit-dpd = &amp;lt; 0x88b8 &amp;gt;;                                                                      /* in ../../nrf54l15_cri/BLE_CRI_Demo/build/BLE_CRI_Demo/zephyr/custom.overlay:86 */
 				};
 			};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Driver: Regarding the execution speed of flash read API at nrf54l15</title><link>https://devzone.nordicsemi.com/thread/566759?ContentTypeID=1</link><pubDate>Fri, 22 May 2026 09:32:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40462a6f-3702-42b0-afd0-a6392e814283</guid><dc:creator>H-ogawa</dc:creator><description>&lt;p&gt;Hi,Vidar&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/zephyr_5F00_sdk3.1.1.dts"&gt;devzone.nordicsemi.com/.../zephyr_5F00_sdk3.1.1.dts&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/zephyr_5F00_sdk3.2.4.dts"&gt;devzone.nordicsemi.com/.../zephyr_5F00_sdk3.2.4.dts&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/sdk3_2E00_2_2E00_4_2E00_config"&gt;devzone.nordicsemi.com/.../sdk3_2E00_2_2E00_4_2E00_config&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/sdk3_2E00_1_2E00_1_2E00_config"&gt;devzone.nordicsemi.com/.../sdk3_2E00_1_2E00_1_2E00_config&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Driver: Regarding the execution speed of flash read API at nrf54l15</title><link>https://devzone.nordicsemi.com/thread/566753?ContentTypeID=1</link><pubDate>Fri, 22 May 2026 08:50:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa82d208-3c54-4691-8d47-8eeb7ebc0f33</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am surprised you see the same without DPD as well. To help troubleshoot this further, could you try to compare/&amp;quot;diff&amp;quot; the .config and zephyr.dts from both builds? I can also diff the files here if you upload them here.&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/pastedimage1779439791993v1.png" alt=" " /&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><item><title>RE: Zephyr Driver: Regarding the execution speed of flash read API at nrf54l15</title><link>https://devzone.nordicsemi.com/thread/566747?ContentTypeID=1</link><pubDate>Fri, 22 May 2026 08:27:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31f2f9ec-facc-4880-9cfe-5d7082a58409</guid><dc:creator>H-ogawa</dc:creator><description>&lt;p&gt;Hi,Vidar&lt;/p&gt;
&lt;p&gt;Thank you for reply.&lt;/p&gt;
&lt;p&gt;No change even if deleted.&lt;/p&gt;
&lt;p&gt;Furthermore, since the spi_nor driver uses the same file in both SDK 3.1.1 and SDK 3.2.4, it is unlikely that there is a problem with the file itself. Also, the overlay settings for mx25r64 are the same in both SDK 3.1.1 and SDK 3.2.4.&lt;/p&gt;
&lt;p&gt;Are there any other possible causes?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hiroki&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Driver: Regarding the execution speed of flash read API at nrf54l15</title><link>https://devzone.nordicsemi.com/thread/566741?ContentTypeID=1</link><pubDate>Fri, 22 May 2026 06:57:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81c226f6-854e-43c3-9706-910a56c9f2eb</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Given the large discrepancy I suspect in the first case that the SPI flash is powered on, while with the new version it is in Deep power down (&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/98a344fe21a4439b0cd1d340635a6ccb3e166f46/drivers/flash/spi_nor.c#L201"&gt;DPD&lt;/a&gt;&lt;span&gt;)&lt;/span&gt; mode thus requiring&amp;nbsp;the driver to wait for the flash to become ready before it can perform&amp;nbsp;the read operation. Perhaps you can disable DPD (I.e. remove the &lt;span style="color:rgba(0, 0, 238, 1);"&gt;&lt;span&gt;&lt;u&gt;has-did&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;property from the&amp;nbsp;&lt;span&gt;MX25R64 DT node) to confirm if this improves the read performance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>