<?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>Firmware board configuration for nRF52833 QFN40 (QDAA) design</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69647/firmware-board-configuration-for-nrf52833-qfn40-qdaa-design</link><description>Hi there, 
 I am developing a product using the nRF52833 QFN40 package (nrf52833_qdaa), and have the nRF52833DK for testing which uses aQFN-73 package (nrf52833_qiaa). I am looking to clarify a few things about how to build the firmware for this target</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Jan 2021 10:53:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69647/firmware-board-configuration-for-nrf52833-qfn40-qdaa-design" /><item><title>RE: Firmware board configuration for nRF52833 QFN40 (QDAA) design</title><link>https://devzone.nordicsemi.com/thread/291957?ContentTypeID=1</link><pubDate>Fri, 29 Jan 2021 10:53:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05263ab4-08d9-43a6-b7b6-cd74f2f53475</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;If you change the UICR, this code will be run before &lt;code&gt;main()&lt;/code&gt;. The first time the code runs, the voltage configuration will change to 3V3 and the configuration is stored. From then on, every time you boot the IC, the voltage will already be configured and the condition of the if-statement is not met anymore. This method is already used by many of the system files in the MDK, such as when enabling pin reset by writing to the PSELRESET registers in the UICR: &lt;a title="https://github.com/nrfconnect/sdk-hal_nordic/blob/master/nrfx/mdk/system_nrf52833.c#l136" href="https://github.com/nrfconnect/sdk-hal_nordic/blob/master/nrfx/mdk/system_nrf52833.c#L136" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-hal_nordic/blob/master/nrfx/mdk/system_nrf52833.c#L136&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have created an internal inquiry so that hopefully this could be a CONFIG_ in the future.&lt;/p&gt;
&lt;p&gt;Sorry for the long delays in this thread, I am still quite new at Nordic and I am learning as we go. I hope you get faster response from us the next time you have any questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware board configuration for nRF52833 QFN40 (QDAA) design</title><link>https://devzone.nordicsemi.com/thread/290745?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2021 12:51:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69361be6-3f07-4656-acf8-c5efa7d0c2d0</guid><dc:creator>optimisedpd</dc:creator><description>&lt;p&gt;I&amp;#39;m fine with the changing a digit&amp;nbsp;&amp;#39;0&amp;#39; to a &amp;#39;3&amp;#39; part, thanks!&lt;/p&gt;
&lt;p&gt;The part I was looking for guidance on was that this approach was even the best method. There are also threads such as this that suggest it&amp;#39;s best not to change the UICR at runtime &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/28562/nrf52840-regulator-configuration"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/28562/nrf52840-regulator-configuration&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyway I will take&amp;nbsp;it as confirmation that the method I originally linked is the best approach, and most of the other questions are redundant now as it&amp;#39;s been so long. This thread has been an exercise in futility so I&amp;#39;ll leave it there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware board configuration for nRF52833 QFN40 (QDAA) design</title><link>https://devzone.nordicsemi.com/thread/290731?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2021 12:11:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2190fc8d-c9c3-4db8-bfe1-85dd69375165</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Kevin, sorry again for the delay.&lt;/p&gt;
&lt;p&gt;LDO mode is the default behavior, so you do not need to change anything in order to use LDO. DCDC is only supported by REG1. LDO is the only option for REG0.&lt;/p&gt;
&lt;p&gt;Regarding 3V3: Try running similar code. Except, where it says &amp;quot;3V0&amp;quot;, try changing to &amp;quot;3V3&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware board configuration for nRF52833 QFN40 (QDAA) design</title><link>https://devzone.nordicsemi.com/thread/289297?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 18:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3564c8c-6317-4256-8e4a-2b3f750e21c3</guid><dc:creator>optimisedpd</dc:creator><description>&lt;p&gt;I need to move forward with this - the main thing is setting up the&lt;span&gt;&amp;nbsp;REG0 for 3V3 use and both REG0 &amp;amp; REG1 in LDO only mode. Please could you let me know what the best way of doing this is, is it similar to the linked example? Or is there a CONFIG_ value or better way of doing this? Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware board configuration for nRF52833 QFN40 (QDAA) design</title><link>https://devzone.nordicsemi.com/thread/287874?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 08:54:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36798a8b-a7f3-485b-8558-f5d59d002070</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Kevin, thank you for your patience.&lt;/p&gt;
&lt;p&gt;I will share a few thoughts soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware board configuration for nRF52833 QFN40 (QDAA) design</title><link>https://devzone.nordicsemi.com/thread/287573?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 19:14:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a9132f1-da2e-4c23-8cf8-5e76f31487e4</guid><dc:creator>optimisedpd</dc:creator><description>&lt;p&gt;Hi, Any ideas?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware board configuration for nRF52833 QFN40 (QDAA) design</title><link>https://devzone.nordicsemi.com/thread/286111?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 15:51:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ea41d0d-a74a-46db-a429-d7a1211f3c4f</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Thank you for the update and new questions. I will look into this as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware board configuration for nRF52833 QFN40 (QDAA) design</title><link>https://devzone.nordicsemi.com/thread/285887?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 15:26:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8659f9f9-a9d5-469b-9dba-c17dc2adbb96</guid><dc:creator>optimisedpd</dc:creator><description>&lt;p&gt;Thanks Hakon, yes I have seen that, and slowly getting more familiar. I have got it working to a basic level now&amp;nbsp;and worked out some of the things in my original question.&lt;/p&gt;
&lt;p&gt;Your help on how to manage the different package (both the&amp;nbsp;&lt;span&gt;CONFIG_SOC_NRF52833_QIAA and the&amp;nbsp;nordic/nrf52833_qiaa.dtsi file) would be much appreciated as I can&amp;#39;t see anything online about this or any existing files for this package variant.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The other part which would be good to get your input on, is if the &amp;#39;arduino_&amp;#39; parts can be removed. This may be more obvious to someone in the know, but I can&amp;#39;t find much written on this specifically. I don&amp;#39;t think I use anything arduino related, but wasn&amp;#39;t sure if these are used under the hood, or are common in sample code which I might copy.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The final part is related to setting up REG0 for 3V3 use. So far I have added the two commands below to the &amp;#39;customboard_nrf52833_defconfig&amp;#39; files to configure for our PCB.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;# No LF XTAL on PT118A board, so use internal 32.768kHz RC oscillator
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y

# No DCDC inductor on PT118A board, so disable (use LDOs)
CONFIG_BOARD_ENABLE_DCDC=n&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Do these look like the correct way to do these changes, and how best to set REG0 to 3V3? I found the&amp;nbsp;&lt;span&gt;board_nrf52833dongle_nrf52833_init()&amp;nbsp;&lt;/span&gt;function in this board file &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/boards/arm/nrf52833dongle_nrf52833/board.c"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/boards/arm/nrf52833dongle_nrf52833/board.c&lt;/a&gt; , but thought there must be a simpler way! Is there a CONFIG_ setting for this?&lt;/p&gt;
&lt;p&gt;Thanks for all your help.&lt;/p&gt;
&lt;p&gt;Kevin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware board configuration for nRF52833 QFN40 (QDAA) design</title><link>https://devzone.nordicsemi.com/thread/285877?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 15:00:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7bcfb82-6ad0-4c57-9e21-4ab7a42a5f42</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Kevin&lt;/p&gt;
&lt;p&gt;We have a &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-ncs-v1-4-0#h11sk6ks1jkp1figkuq6gxw1m1rctdp0"&gt;getting started tutorial&lt;/a&gt; that you might have seen already which is touching on this.&lt;/p&gt;
&lt;p&gt;I will look into the details you provided and get back to you after the weekend.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>