<?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>Default REGOUT0 resgister value not as expected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47031/default-regout0-resgister-value-not-as-expected</link><description>Hi, 
 According to the NRF52840 product specification document the default value for REGOUT0 is 0xFFFFFFFF. 
 When powering the VDDH this implies that the VDD power is 1.8V 
 However, when using own board powered by VDDH (with no debugger attached), REGOUT0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 May 2019 12:12:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47031/default-regout0-resgister-value-not-as-expected" /><item><title>RE: Default REGOUT0 resgister value not as expected</title><link>https://devzone.nordicsemi.com/thread/185955?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 12:12:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bc4d382-5938-4e9a-bbb0-5b6f777d0df6</guid><dc:creator>Daniel Reisfeld</dc:creator><description>&lt;p&gt;OK, thanks&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I guess I get the chip preprogrammed from the manufacturer. Once I change the value it indeed stays unchanged.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Daniel&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Default REGOUT0 resgister value not as expected</title><link>https://devzone.nordicsemi.com/thread/185923?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 11:03:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebeebbe1-7523-4b3f-bc0d-7ad4f87ef96d</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Daniel,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please answer all of my questions.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;The SoftDevice does not&amp;nbsp;set any value to REGOUT0. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;What FW are you using? Are you programming one of our examples?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What is connected to VDDH on the custom board?&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
[quote user="danielReisfeld"]he essence of my question is, therefore: it seems that if the REGOUT0 is changed once from its default value (0xFFFFFFFF) it will remain changed in next firmware updates (which means that the firmware update doesn&amp;#39;t apply to the relevant flash page.[/quote]
&lt;p&gt;&amp;nbsp;If you have written once to the REGOUT0, then it will stay like this until an --eraseall is issued.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Default REGOUT0 resgister value not as expected</title><link>https://devzone.nordicsemi.com/thread/185911?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 10:31:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12df098a-ff4b-4a37-a240-a309b5fd2c38</guid><dc:creator>Daniel Reisfeld</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;Oslash;yvind,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I mean development board by DK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was able to replicate the problem with the DK (and not only by my board).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The essence of my question is, therefore: it seems that if the REGOUT0 is changed once from its default value (0xFFFFFFFF) it will remain changed in next firmware updates (which means that the firmware update doesn&amp;#39;t apply to the relevant flash page.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Moreover,if a customized board is powered by the VDDH, Softdevice will change the default value (at least of burned by the DK using SES).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you kindly double check if Softdevice may indeed change REGOUT0. If so, is this behaviour controllable?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Daniel&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Default REGOUT0 resgister value not as expected</title><link>https://devzone.nordicsemi.com/thread/185888?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 09:35:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44a00976-2cef-4e3d-b7fb-16c8ae7f6f5d</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Daniel,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you say DK, I presume you mean &lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_nrf5_latest.html?cp=5_0"&gt;SDK (Software Development Kit)&lt;/a&gt; and not &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/nrf52840_DK/intro.html?cp=3_0_4"&gt;Development Kit&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;[quote][/quote]&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is this consistent&amp;nbsp;with your knowledge of Softdevice? Does Softdevice indeed changes this register?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;The SoftDevice does not change any value for REGOUT0. What FW are you using? Are you programming one of our examples?&lt;/p&gt;
&lt;p&gt;If you have already written once to the REGOUT0 register in UICR, then you will need to run&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog -f nrf52 --eraseall&lt;/pre&gt;&lt;br /&gt;to remove this value.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;On the boards you are using, what is connected to VDDH?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Øyvind&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Default REGOUT0 resgister value not as expected</title><link>https://devzone.nordicsemi.com/thread/185849?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 08:12:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc66a507-65d1-4210-80ba-ab1d3e45c037</guid><dc:creator>Daniel Reisfeld</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;Oslash;yvind,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m using my own boards and downloading using SES and the DK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m now able to describe the phenome as follows:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. If leaving REGOUT0 untouched it seems Softdevice is changing its value to 4 (and maybe resetting to change to 3V).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. If changing its value (using nrf_nvmc_write_word) before activating Softdevice (otherwise the program crashes) it seems Softdevice doesn&amp;#39;t change REGOUT0 value (also in subsequent runs).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is this consistent&amp;nbsp;with your knowledge of Softdevice? Does Softdevice indeed changes this register?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If so, is there a way to burn the software (using the DK) without going through actively changing the default and restart?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Daniel&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Default REGOUT0 resgister value not as expected</title><link>https://devzone.nordicsemi.com/thread/185835?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 07:18:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a40584f3-a8f3-4f81-a99c-a5c0fbe44635</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Can you please elaborate on your setup?&amp;nbsp;Are you using a custom board or a Nordic DK? Has anyone used the board before you?&lt;br /&gt;&lt;br /&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/uicr.html#register.REGOUT0"&gt;REGOUT0 register&lt;/a&gt;&amp;nbsp;in the UICR configures the output of REGOUT0. And yes, this is by default set to value 7 = 1.8V.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What happens if you do:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog -f nrf52 --eraseall&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>