<?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>Need To Use Internal Regulators for 1.8V Operation - How?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126178/need-to-use-internal-regulators-for-1-8v-operation---how</link><description>We need to use a Lithium Ion battery to power our device and need to connect to a chip that has 1V8 logic levels as its only option. 
 We&amp;#39;re early in development, so it seems like a good first approach would be to hook the L-ion battery to VDDH, have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Dec 2025 13:13:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126178/need-to-use-internal-regulators-for-1-8v-operation---how" /><item><title>RE: Need To Use Internal Regulators for 1.8V Operation - How?</title><link>https://devzone.nordicsemi.com/thread/557525?ContentTypeID=1</link><pubDate>Mon, 22 Dec 2025 13:13:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b65f834d-6421-4e3c-b4af-e2c318062e42</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the detailed follow-up, your investigation&amp;nbsp;seems correct.&lt;/p&gt;
&lt;p&gt;On nRF5340, the REGULATORS registers (including the DCDCEN bits) are retained, and the regulators operate in LDO mode by default after a true hardware reset. DC/DC is only enabled if software explicitly sets DCDCEN.&lt;/p&gt;
&lt;p&gt;When flashing with west flash --runner jlink, the reset performed over SWD/debug does not always clear retained regulator state. As a result, if a previous image enabled DC/DC, that state can persist and still be visible at the start of main().&lt;/p&gt;
&lt;p&gt;And when regulator-initial-mode = NRF5X_REG_MODE_LDO is used, Zephyr does not necessarily rewrite the register, since LDO already matches the hardware&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/regulators.html#register.VREGMAIN.DCDCEN"&gt;default&lt;/a&gt;. Pressing the RESET button on the nRF5340-DK performs a full hardware reset, returning the regulators to their default LDO state, which is why you then see the expected values.&lt;/p&gt;
&lt;p&gt;So your configuration is correct, the behavior you observed is due to retained regulator state and reset type, not a missing devicetree or Kconfig setting. Thanks for pointing this out.&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need To Use Internal Regulators for 1.8V Operation - How?</title><link>https://devzone.nordicsemi.com/thread/557465?ContentTypeID=1</link><pubDate>Fri, 19 Dec 2025 16:50:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef03efa6-968e-4519-a1d4-fb7b4b7fb38c</guid><dc:creator>Dan Winker</dc:creator><description>&lt;p&gt;I got it working and I&amp;#39;m on the verge of learning something here. Can you explain why the process I describe below works?&lt;/p&gt;
&lt;p&gt;The best hypothesis I can come up with is&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;LDO is the SoC hardware default.&lt;/li&gt;
&lt;li&gt;By default nRF Connect is changing that mode to DCDC (early in startup, controlled by the device tree).&lt;/li&gt;
&lt;li&gt;When I change the mode to LDO in my overlay, the nRF Connect device tree stuff knows LDO is the SoC hardware&amp;#39;s default so now nRF Connect just doesn&amp;#39;t touch the register.&lt;/li&gt;
&lt;li&gt;The &amp;#39;west flash --runner jlink&amp;#39; doesn&amp;#39;t really reset the SoC, really it just jumps to the entry point or something like that. So, the Soc never initialized the register (or any other registers either?)&lt;/li&gt;
&lt;li&gt;The nRF5340-DK RESET button actually does reset the SoC, so then I get the correct value in the register.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Here&amp;#39;s the process I followed to come up with that.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Printing out values of regulator registers at top of main() with and without OVERLAY_MODIFICATION.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:courier new, courier;"&gt;---------------OVERLAY_MODIFICATION---------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;&amp;amp;vregmain {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;&amp;nbsp; &amp;nbsp; regulator-initial-mode = &amp;lt;NRF5X_REG_MODE_LDO&amp;gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;&amp;amp;vregradio {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;&amp;nbsp; &amp;nbsp; regulator-initial-mode = &amp;lt;NRF5X_REG_MODE_LDO&amp;gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;};&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;--------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Build code &lt;strong&gt;without&lt;/strong&gt; OVERLAY_MODIFICATION&lt;/p&gt;
&lt;p&gt;Use &amp;#39;west flash --runner jlink&amp;#39; which seems to reset the board when it&amp;#39;s done (but maybe not exactly?)&lt;/p&gt;
&lt;p&gt;I get this expected output:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:courier new, courier;"&gt;--------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;VREGMAIN:&amp;nbsp; &amp;nbsp;0x00000001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;VREGRADIO:&amp;nbsp; 0x00000001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;VREGH:&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x00000001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;UICR.VREGHVOUT: 0xffffffff&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;--------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Build code &lt;strong&gt;with&lt;/strong&gt; OVERLAY_MODIFICATION&lt;/p&gt;
&lt;p&gt;Use &amp;#39;west flash --runner jlink&amp;#39; which seems to reset the board when it&amp;#39;s done (but maybe not exactly?)&lt;/p&gt;
&lt;p&gt;I get this disappointing output (VREGMAIN and VREGRADIO should both be 0):&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:courier new, courier;"&gt;--------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;VREGMAIN:&amp;nbsp; &amp;nbsp;0x00000001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;VREGRADIO:&amp;nbsp; 0x00000001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;VREGH:&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x00000001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;UICR.VREGHVOUT: 0xffffffff&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;--------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Push the RESET button on the nRF5340-DK board&lt;/p&gt;
&lt;p&gt;I get the correct output!&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:courier new, courier;"&gt;--------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;VREGMAIN:&amp;nbsp; &amp;nbsp;0x00000000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;VREGRADIO:&amp;nbsp; 0x00000000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;VREGH:&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x00000001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;UICR.VREGHVOUT: 0xffffffff&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new, courier;"&gt;--------------------------&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need To Use Internal Regulators for 1.8V Operation - How?</title><link>https://devzone.nordicsemi.com/thread/557453?ContentTypeID=1</link><pubDate>Fri, 19 Dec 2025 14:55:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de784b1d-5064-4bd2-9a5e-d72eaaa61979</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the detailed information and for sharing the generated zephyr.dts. We’re currently checking this behavior internally, specifically the interaction between the devicetree regulator-initial-mode settings and the early regulator initialization on the nRF5340 DK.&lt;br /&gt;&lt;br /&gt;I’ll get back to you shortly with a correct way to force LDO mode in this setup. Thanks for your patience.&lt;br /&gt;&lt;br /&gt;Kind Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need To Use Internal Regulators for 1.8V Operation - How?</title><link>https://devzone.nordicsemi.com/thread/557360?ContentTypeID=1</link><pubDate>Thu, 18 Dec 2025 17:04:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcac872f-79cc-49fd-8a94-32a0f77dbea6</guid><dc:creator>Dan Winker</dc:creator><description>&lt;p&gt;Please help with this.&lt;br /&gt;&lt;br /&gt;I believe I&amp;#39;m setting LDO mode for vregmain and vregradio correctly, but when I load the code in the debugger and find the VREGMAIN and VREGRADIO registers I see the DCDCEN configuration bit is set for VREGMAIN, VREGRADIO, and VREGH.&amp;nbsp; This is true at the first breakpoint at main() and still true if I then let it run for a few seconds and pause.&lt;br /&gt;&lt;br /&gt;Right now I&amp;#39;m using nRF Connect 2025.9, ncs v3.1.1, and a blue nRF5340-DK board. We will need LDO mode for our product because it is a sensor and we don&amp;#39;t have the external inductors that would be needed for DCDC mode.&lt;br /&gt;&lt;br /&gt;Build details:&lt;br /&gt;&lt;br /&gt;I have two build configurations &amp;quot;ipc_radio&amp;quot; (cpunet) and &amp;quot;sensor&amp;quot; (cpuapp). I end up with a merged_CPUNET.hex and a merged.hex file.&lt;br /&gt;&lt;br /&gt;In VSCode, nRF Connect if I select&lt;br /&gt;&amp;nbsp; &amp;nbsp; APPLICATIONS&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sensor&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; build&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sensor&lt;br /&gt;&lt;br /&gt;and then&lt;br /&gt;&amp;nbsp; &amp;nbsp; ACTIONS&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Devicetree Overlay file&lt;br /&gt;&lt;br /&gt;I am looking at the result of the Nordic Board File and my overrides in my overlay file. I can click on vregmain and see that my regulator-initial-mode is NRF5X_REG_MODE_LDO, like I want. Similar for vregradio, regulator-initial-mode is NRF5X_REG_MODE_LDO. vregh does not have a regulator-initial-mode option.&lt;br /&gt;&lt;br /&gt;Here seems to be the pertient section of build/sensor/zephyr/zephyr.dts (&amp;quot;regulator-initial-mode = &amp;lt; 0x0 &amp;gt;&amp;quot; means LDO I believe):&lt;br /&gt;&lt;br /&gt;/dts-v1/;&lt;br /&gt;&lt;br /&gt;/* node &amp;#39;/&amp;#39; defined in zephyr/dts/common/skeleton.dtsi:9 */&lt;br /&gt;/ {&lt;br /&gt;...&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* node &amp;#39;/soc&amp;#39; defined in zephyr/dts/arm/armv8-m.dtsi:6 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; soc {&lt;br /&gt;...&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* node &amp;#39;/soc/peripheral@50000000&amp;#39; defined in zephyr/dts/arm/nordic/nrf5340_cpuapp.dtsi:59 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; peripheral@50000000 {&lt;br /&gt;...&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* node &amp;#39;/soc/peripheral@50000000/regulator@4000&amp;#39; defined in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:33 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; regulators: regulator@4000 {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = &amp;quot;nordic,nrf53x-regulators&amp;quot;; /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:34 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reg = &amp;lt; 0x4000 0x1000 &amp;gt;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:35 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:36 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #address-cells = &amp;lt; 0x1 &amp;gt;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:37 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #size-cells = &amp;lt; 0x1 &amp;gt;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:38 */&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* node &amp;#39;/soc/peripheral@50000000/regulator@4000/regulator@4704&amp;#39; defined in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:40 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vregmain: regulator@4704 {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = &amp;quot;nordic,nrf5x-regulator&amp;quot;; /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:41 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reg = &amp;lt; 0x4704 0x1 &amp;gt;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:42 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:43 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; regulator-name = &amp;quot;VREGMAIN&amp;quot;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:44 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; regulator-initial-mode = &amp;lt; 0x0 &amp;gt;;&amp;nbsp; &amp;nbsp; &amp;nbsp; /* in ../../Git/sensor/build/sensor/zephyr/boards/nrf5340dk_nrf5340_cpuapp.overlay:32 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* node &amp;#39;/soc/peripheral@50000000/regulator@4000/regulator@4904&amp;#39; defined in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:48 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vregradio: regulator@4904 {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = &amp;quot;nordic,nrf5x-regulator&amp;quot;; /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:49 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reg = &amp;lt; 0x4904 0x1 &amp;gt;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:50 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:51 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; regulator-name = &amp;quot;VREGRADIO&amp;quot;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:52 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; regulator-initial-mode = &amp;lt; 0x0 &amp;gt;;&amp;nbsp; &amp;nbsp; &amp;nbsp; /* in ../../Git/sensor/build/sensor/zephyr/boards/nrf5340dk_nrf5340_cpuapp.overlay:36 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* node &amp;#39;/soc/peripheral@50000000/regulator@4000/regulator@4b00&amp;#39; defined in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:56 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vregh: regulator@4b00 {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = &amp;quot;nordic,nrf53x-regulator-hv&amp;quot;; /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:57 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reg = &amp;lt; 0x4b00 0x44 &amp;gt;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:58 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* in zephyr/boards/nordic/nrf5340dk/nrf5340_cpuapp_common.dtsi:67 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; regulator-name = &amp;quot;VREGH&amp;quot;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* in zephyr/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi:60 */&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;br /&gt;&lt;br /&gt;I thought maybe I had to set the modes for the ipc_radio build configuration too, but I don&amp;#39;t think so.&lt;br /&gt;&lt;br /&gt;In VSCode, nRF Connect if I select&lt;br /&gt;&amp;nbsp; &amp;nbsp; APPLICATIONS&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sensor&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; build&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ipc_radio&lt;br /&gt;&lt;br /&gt;and then&lt;br /&gt;&amp;nbsp; &amp;nbsp; ACTIONS&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Devicetree Board File&lt;br /&gt;&lt;br /&gt;I get the Devicetree visual editor open in a tab with a warning &amp;quot;Editing SDK file!&amp;quot; I see no icons for vregh, vregmain, or vregradio like I see in the Devicetree visual editor for sensor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need To Use Internal Regulators for 1.8V Operation - How?</title><link>https://devzone.nordicsemi.com/thread/557239?ContentTypeID=1</link><pubDate>Wed, 17 Dec 2025 14:41:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a407110-ae7e-442c-a000-d157ac534c6b</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;On nRF5340, VREGMAIN and VREGRADIO are internal regulators that power the cores and radio, and their role is not to set the GPIO logic level. In high‑voltage mode, the GPIO logic level is defined by the VREGH output &lt;span&gt;as shown in this&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/chapters/supply/doc/power_supply.html"&gt;power supply diagram&lt;/a&gt;, it can be configured via the UICR.VREGHVOUT register (not via devicetree).&amp;nbsp;You may follow these steps to achieve 1.8 V logic on the GPIOs:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Power nRF5340 from the Li‑ion through VDDH pin with the&amp;nbsp;2.5–5.5 V range (high‑voltage mode).&lt;/li&gt;
&lt;li&gt;Make sure&amp;nbsp;high‑voltage mode is enabled in the device tree so firmware can configure VREGH:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;vregh {
    status = &amp;quot;okay&amp;quot;;
}&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;Then&amp;nbsp;configure UICR.VREGHVOUT which is programmed at&amp;nbsp;address 0x00FF8010 on nRF5340. Please note that&amp;nbsp;UICR isn’t configured via Kconfig or devicetree. You can run the following command in a terminal once to program the UICR.VREGHVOUT register:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog -f nrf53 --memwr 0x00FF8010 --val 0&lt;/pre&gt;&lt;br /&gt;The values 0 to 5 correspond to 1.8 to 3.3 V as documented in the &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/chapters/uicr/doc/uicr.html#ariaid-title4"&gt;VREGHVOUT register description&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>