<?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/"><channel><title>Persistent storage of keys and data using the nRF Connect SDK</title><link>/nordic/nordic-blog/b/blog/posts/persistent-storage-of-keys-and-data-using-the-nrf-connect-sdk</link><description>Choose the best storage solution for your IoT application with nRF Connect SDK! Learn to securely store keys, data, and more while optimizing performance.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><item><title>RE: Persistent storage of keys and data using the nRF Connect SDK</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/persistent-storage-of-keys-and-data-using-the-nrf-connect-sdk</link><pubDate>Mon, 27 Nov 2023 17:04:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8ae1973-bacf-41c1-9301-6d1b43500954</guid><dc:creator>Rokk Research</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;Thanks for the writeup, it&amp;#39;s a very&amp;nbsp;comprehensive overview!&amp;nbsp; I&amp;nbsp;would add&amp;nbsp;that in NCS v2.5.0 there&amp;#39;s also a &amp;quot;WiFi Credentials Management subsystem&amp;quot; that can use PSA as the backend for storing SSID&amp;#39;s and passwords.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Is there any support for an encrypted filesystem or other storage on external flash?&amp;nbsp; If not, is there a mechanism for using the PSA API&amp;#39;s directly to encrypt data on an &lt;strong&gt;external flash&lt;/strong&gt;?&lt;/span&gt;&lt;/p&gt;&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1473&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Persistent storage of keys and data using the nRF Connect SDK</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/persistent-storage-of-keys-and-data-using-the-nrf-connect-sdk</link><pubDate>Mon, 28 Aug 2023 15:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8ae1973-bacf-41c1-9301-6d1b43500954</guid><dc:creator>Sigurd Hellesvik</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;A note on the NVMC drivers:&lt;/p&gt;
&lt;p&gt;Flash writes on nRF chips take time, and can interfere with Bluetooth Low Energy or other radio operation.&lt;br /&gt;Therefore, if the radio is used, flash drivers such as NVS does not use nvmc driver directly. Instead, we use a &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/drivers/flash/soc_flash_nrf.c"&gt;layer&lt;/a&gt; in between which directs the flash write to use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/mpsl/README.html"&gt;MPSL&lt;/a&gt; for scheduling flash writes. &lt;br /&gt;In practice, this means that you should not use the nvmc driver directly when working with the radio. If you use other storage systems, this will be handled automatically.&lt;/p&gt;
&lt;p&gt;For some more depth into this, see &lt;a href="/f/nordic-q-a/101951/fs_write-freezes-app-for-100-ms/443425"&gt;my answer to this devzone ticket&lt;/a&gt;.&lt;/p&gt;&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=1473&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>