<?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>Configuring VDD output when using a soft device - possible?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69168/configuring-vdd-output-when-using-a-soft-device---possible</link><description>Hi there, 
 I&amp;#39;m presuming that, when using the s140 soft device (or any of the soft devices), I cannot change the output of VDD to anything and must assume 3V. 
 I have tried the following, but the soft device complains of an invalid memory access: 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Dec 2020 12:57:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69168/configuring-vdd-output-when-using-a-soft-device---possible" /><item><title>RE: Configuring VDD output when using a soft device - possible?</title><link>https://devzone.nordicsemi.com/thread/283543?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 12:57:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cb50fa7-8182-44f5-994e-73f5bfaf2927</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If you are referring to the buttons on the DK, these just pulls the input pin to GND when the button is pushed. This works with any GPIO voltage level supported by the chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring VDD output when using a soft device - possible?</title><link>https://devzone.nordicsemi.com/thread/283521?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 11:47:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8af2274-1a29-4a82-bf0d-87328cd36322</guid><dc:creator>Christopher Hunt</dc:creator><description>&lt;p&gt;Thank you! I will look at configuring prior to soft device enablement. Will the buttons still work with 1.8v; I&amp;rsquo;m presuming so?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring VDD output when using a soft device - possible?</title><link>https://devzone.nordicsemi.com/thread/283507?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 11:08:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8818a2b4-3b7a-4f93-a049-a7eb97cd2a3c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are right that there are no functions to write UICR registers while the softdevice is enabled, and the softdevice prevents you from accessing the NVMC controller directly. UICR acts the same way as flash, and CPU will be halted during flash write/erase operations. The softdevice has real-time requirements that could be broken if the CPU is halted during one of these tasks, which is why it is not allowed.&lt;/p&gt;
&lt;p&gt;Do you have a requirement to change the REGOUT0 register during runtime of the application? If not, just write the UICR register before enabling the softdevice in your application. The new voltage configuration is anyway not applied before you reset the device, so you could disable the softdevice before writing the register, if you need to change the voltage during runtime.&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>