<?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>NVS &amp;amp; MX25R64</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125691/nvs-mx25r64</link><description>HI 
 I am using nRF54L15 PDK with NCS 3.0.0. In my code, I am using NVS to store data on the MX25R64 flash on the PDK. The initialization code is as follows: 
 struct flash_pages_info info ; 
data_fs . flash_device = FIXED_PARTITION_DEVICE ( sensor_ptr_storage</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Nov 2025 00:54:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125691/nvs-mx25r64" /><item><title>RE: NVS &amp; MX25R64</title><link>https://devzone.nordicsemi.com/thread/554976?ContentTypeID=1</link><pubDate>Fri, 21 Nov 2025 00:54:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c448ae2-bb80-4274-9d36-073a7e2c107d</guid><dc:creator>crm</dc:creator><description>[quote userid="15146" url="~/f/nordic-q-a/125691/nvs-mx25r64/554942"]Maybe try setting it like this CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096[/quote]
&lt;p&gt;Thanks,it works!&lt;/p&gt;
[quote userid="15146" url="~/f/nordic-q-a/125691/nvs-mx25r64/554942"]ZMS utilizes a flexible data management system that reduces write and erase cycles, extending the lifespan of non-volatile memory.[/quote]
&lt;p&gt;I will have a try.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NVS &amp; MX25R64</title><link>https://devzone.nordicsemi.com/thread/554942?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2025 15:40:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:827ec27b-506d-448f-b85c-4ef1bbd9782f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;First of, for nRF54 series, you should use ZMS , and not NVS.&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-3.0.0/page/nrf/app_dev/device_guides/nrf54l/zms.html"&gt;https://docs.nordicsemi.com/bundle/ncs-3.0.0/page/nrf/app_dev/device_guides/nrf54l/zms.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ZMS utilizes a flexible data management system that reduces write and erase cycles, extending the lifespan of non-volatile memory.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="145693" url="~/f/nordic-q-a/125691/nvs-mx25r64"]&lt;span&gt;Does&amp;nbsp;&lt;/span&gt;&lt;code&gt;flash_get_page_info_by_offs&lt;/code&gt;&lt;span&gt;&amp;nbsp;read the information per page? The&amp;nbsp;&lt;/span&gt;&lt;code&gt;info.size&lt;/code&gt;&lt;span&gt;&amp;nbsp;should be 4096, why is it 65536 (64K)?&lt;/span&gt;[/quote]
&lt;p&gt;What is your&amp;nbsp;CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE set to ?&lt;br /&gt;Maybe try setting it like this CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>