<?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>NRF52840+Zephyr + SoftDevice S140 - Does flash access for NVS need to be managed by direct softdevice api access?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76999/nrf52840-zephyr-softdevice-s140---does-flash-access-for-nvs-need-to-be-managed-by-direct-softdevice-api-access</link><description>Hi, 
 I am using Zephyr configured to use the softdevice as the BLE controller. 
 I am looking to read and write a small amount of data to the flash for non-volatile storage. 
 I have seen multiple support threads suggesting that when using a softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Dec 2021 12:48:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76999/nrf52840-zephyr-softdevice-s140---does-flash-access-for-nvs-need-to-be-managed-by-direct-softdevice-api-access" /><item><title>RE: NRF52840+Zephyr + SoftDevice S140 - Does flash access for NVS need to be managed by direct softdevice api access?</title><link>https://devzone.nordicsemi.com/thread/342715?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 12:48:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a681a58a-76c9-4e41-9c0b-b49bf3c4e9ad</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/aryan"&gt;Susheel Nuguru&lt;/a&gt; could you please follow-up here?&lt;/p&gt;
&lt;p&gt;It would be great to have a confirm, thanks a lot!&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840+Zephyr + SoftDevice S140 - Does flash access for NVS need to be managed by direct softdevice api access?</title><link>https://devzone.nordicsemi.com/thread/336905?ContentTypeID=1</link><pubDate>Mon, 01 Nov 2021 14:42:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5445feb8-33d7-4231-b3ed-f9d0534a7ae1</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;I came across this question while looking for exactly the same detail.&lt;/p&gt;
&lt;p&gt;We are implementing an application based on Nordic Connect SDK v1.7.0 for nRF52840 chip, and using SoftDevice Controller for BLE.&lt;/p&gt;
&lt;p&gt;The documentation on nrfxlib states that NVMC shall be accessed only via the SoC API provided (here&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/doc/api.html#softdevice-controller-soc"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/doc/api.html#softdevice-controller-soc&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/aryan"&gt;Susheel Nuguru&lt;/a&gt; can you please confirm that, in case of non bare-metal application, we can directly use standard NVS API from Zephyr to write to Flash?&lt;/p&gt;
&lt;p&gt;Do you think we can either use NVS backend API(&lt;a href="https://docs.zephyrproject.org/latest/reference/storage/nvs/nvs.html"&gt;https://docs.zephyrproject.org/latest/reference/storage/nvs/nvs.html&lt;/a&gt;) or the Settings subsystem API(&lt;a href="https://docs.zephyrproject.org/latest/reference/settings/index.html"&gt;https://docs.zephyrproject.org/latest/reference/settings/index.html&lt;/a&gt;) without any risk of conflict with Radio activity?&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840+Zephyr + SoftDevice S140 - Does flash access for NVS need to be managed by direct softdevice api access?</title><link>https://devzone.nordicsemi.com/thread/318328?ContentTypeID=1</link><pubDate>Fri, 02 Jul 2021 05:04:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f446eec-d5d3-40e9-a72a-3f31ae1acbe9</guid><dc:creator>JustinL</dc:creator><description>&lt;p&gt;Great!!&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840+Zephyr + SoftDevice S140 - Does flash access for NVS need to be managed by direct softdevice api access?</title><link>https://devzone.nordicsemi.com/thread/318253?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 13:45:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f93cfcb-1287-4775-828e-64b61758a3ba</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In Zephyr all non volatile memory access makes sure that it schedules the flash operation in between the radio events.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In short, you can still call the non volatile API at any time and the internal implementation of that API will make sure that the operation works safely when BLE is enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>