<?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>Application with SoftDevice is faster by 20% as without it</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81956/application-with-softdevice-is-faster-by-20-as-without-it</link><description>Hello, 
 This issue is related to this ticket , before continuing I recommend to read it first. 
 I had suspicion that the &amp;quot;speed&amp;quot; improvement is between project compiled by SEGGER and GCC, but the differences was veeery huge, and I couldn&amp;#39;t believe that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Nov 2021 08:03:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81956/application-with-softdevice-is-faster-by-20-as-without-it" /><item><title>RE: Application with SoftDevice is faster by 20% as without it</title><link>https://devzone.nordicsemi.com/thread/339956?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 08:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:820fa3b5-ff51-49bf-b484-e0030bf350ef</guid><dc:creator>Despair1337 </dc:creator><description>&lt;p&gt;Hi Vidar,&lt;br /&gt;&lt;br /&gt;Thank you very much, I tested it and it works perfectly,&lt;br /&gt;&lt;br /&gt;Thank you for your time,&lt;br /&gt;with regards,&lt;br /&gt;Marek Kraus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application with SoftDevice is faster by 20% as without it</title><link>https://devzone.nordicsemi.com/thread/339954?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 07:51:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d3886e9-4dcf-4c97-8f09-510f7cacb183</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Marek,&lt;/p&gt;
&lt;p&gt;It must be because the Softdevice enables the instruction cache by default: &lt;span&gt;&lt;a title="Cache" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/nvmc.html?cp=4_0_0_3_2_7#concept_dh3_cyy_vr"&gt;Cache&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;You can add this line on startup to enable instruction cache in your non-softdevice project:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_NVMC-&amp;gt;ICACHECNF= NVMC_ICACHECNF_CACHEEN_Enabled;&lt;/pre&gt;&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></channel></rss>