<?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>SDK 16, 52810,  How to enable DCDCEN in code? I have already done the change of hardware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59592/sdk-16-52810-how-to-enable-dcdcen-in-code-i-have-already-done-the-change-of-hardware</link><description>SDK 16, 52810 
 my board has done the change as the 52810 spec says about dcdc part. Now I wonder HOW do I enable it in my code. Somewhere it says to call sd_power_dcdc_mode_set() , but I couldn&amp;#39;t this method in the SDK codes. 
 
 Thanks,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Mar 2020 12:35:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59592/sdk-16-52810-how-to-enable-dcdcen-in-code-i-have-already-done-the-change-of-hardware" /><item><title>RE: SDK 16, 52810,  How to enable DCDCEN in code? I have already done the change of hardware</title><link>https://devzone.nordicsemi.com/thread/242090?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 12:35:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dff422eb-039f-421f-9588-079075863133</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;That is also an alternative, but then you need to initialize the&amp;nbsp;&lt;a title="POWER driver" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__nrfx__power.html?cp=7_1_6_9_0_22_1"&gt;POWER driver&lt;/a&gt;&amp;nbsp;for the config to take effect. Note that if you are using a softdevice, you should use the legacy power driver, as the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrfx_migration_user_guide.html#getting_started_not_possible"&gt;nrfx version does not integrate with the softdevice&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 16, 52810,  How to enable DCDCEN in code? I have already done the change of hardware</title><link>https://devzone.nordicsemi.com/thread/242083?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 12:00:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:934654b1-bba2-4b26-83fd-990eb95b5202</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;Thanks. Can I config sdk_config.h by change the NRFX_POWER_CONFIG_DEFAULT_DCDCEN value to 1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 16, 52810,  How to enable DCDCEN in code? I have already done the change of hardware</title><link>https://devzone.nordicsemi.com/thread/242082?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 11:55:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51d57276-d698-4f1d-8cbf-02d27f339baa</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using a softdevice? If not, you can enable DCDC by writing directly to the registers:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_POWER-&amp;gt;DCDCEN = 1;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you are using a softdevice, you can still use this approach, but then you need to set it before enabling the softdevice (for instance at the very start of main() function). After you have enabled the softdevice, you must use the function that you linked.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>