<?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>NRF 52840 DK Battery Level Reading</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63679/nrf-52840-dk-battery-level-reading</link><description>Hi All, 
 I am trying to implement a battery level reading app using NRF52840 DK. It seems I am receiving a timeout from saadc. 
 In order to run on the Lithium battery, should we set the switch to VDD or Li-Po? 
 
 Thanks!!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Jul 2020 19:35:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63679/nrf-52840-dk-battery-level-reading" /><item><title>RE: NRF 52840 DK Battery Level Reading</title><link>https://devzone.nordicsemi.com/thread/261078?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 19:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ceaf587-2540-4db1-972d-52b12557d24e</guid><dc:creator>Radio</dc:creator><description>&lt;p&gt;Hi Stian,&lt;/p&gt;
&lt;p&gt;Thank you very much for the information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52840 DK Battery Level Reading</title><link>https://devzone.nordicsemi.com/thread/261004?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 13:24:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5805dd72-6659-4057-87e8-273bb0b09b4e</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;ol&gt;
&lt;li&gt;It disconnects the nRF52 GPIOs and SWD interface from the rest of the DK, so you don&amp;#39;t get any leakage current when measuring on the nRF chip.&lt;/li&gt;
&lt;li&gt;The nRF chip gets its power from the USB, LiPo or the external power header. The problem is that these domains power the rest of the chip&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can power the nRF directly from the external power header, if you set SW10 (VEXT-&amp;gt;nRF) to ON. The problem is that this only works in normal voltage mode. For high voltage mode there is no way to power only the chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52840 DK Battery Level Reading</title><link>https://devzone.nordicsemi.com/thread/261000?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 13:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a36c833-035d-44aa-a589-e7470c01a4da</guid><dc:creator>Radio</dc:creator><description>&lt;p&gt;Hi Stian,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. In the nrF52840 DK, there is a switch to select &amp;quot;nRF Only&amp;quot; | &amp;quot;Default&amp;quot;.&lt;/p&gt;
&lt;p&gt;Currently set to &amp;quot;Default&amp;quot;. May I know:&lt;/p&gt;
&lt;p&gt;1. What is the purpose of this switch?&lt;/p&gt;
&lt;p&gt;2. If it only powers the nRF chip? If so from where does it get power?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52840 DK Battery Level Reading</title><link>https://devzone.nordicsemi.com/thread/260997?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 12:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e1dc456-7e30-4665-aa82-6e150bd715d6</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, Susheel is on vacation so I will answer your questions.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Yes&lt;/li&gt;
&lt;li&gt;Yes, and VDDH is powered through the LiPo header&lt;/li&gt;
&lt;li&gt;No, because the LiPo header is powering everything else on the DK as well. You will have to power VDDH on the LiPo header and measure the current going through the VDDH current measurement header to isolate the current to the nRF52&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52840 DK Battery Level Reading</title><link>https://devzone.nordicsemi.com/thread/260278?ContentTypeID=1</link><pubDate>Thu, 16 Jul 2020 07:40:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7a729b3-d3de-4969-aebe-c5e80458d69f</guid><dc:creator>Radio</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. I still have few more things to clarify.&lt;/p&gt;
&lt;p&gt;In the nrf52840 product specification document it states:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Normal voltage mode is entered when the supply voltage is connected to both the VDD and VDDH pins (pin VDD shorted to pin VDDH).&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span&gt;&amp;quot;High voltage mode is entered when the supply voltage is only connected to the VDDH pin and the VDD pin is not connected to any voltage supply&amp;quot;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;1. In our DK, when I select SW9 switch to VDD, does it short VDD and VDDH&amp;nbsp; together (Normal mode)?&lt;/p&gt;
&lt;p&gt;2. And, when I select Li-Po in SW9, it disconnects VDD pin with any power supply, only VDDH is connected (High Mode)?&lt;/p&gt;
&lt;p&gt;3. Is there is away I can run the nRF chip only by using the Li-Po battery?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52840 DK Battery Level Reading</title><link>https://devzone.nordicsemi.com/thread/260118?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 11:38:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:347fe61b-63ca-4653-8181-186280096805</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Radio.&lt;/p&gt;
&lt;p&gt;There is no battery reading circuitry on the DK and if you are connecting the VDD to the saadc then you will just measure the output of REG0 regulator and not the battery level.&lt;/p&gt;
&lt;p&gt;For LiPo, you need to make a voltage divider circuitry over VDDH and GND and make this as the source to one GPIO which is used by saadc to sample.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52840 DK Battery Level Reading</title><link>https://devzone.nordicsemi.com/thread/259880?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 10:56:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0802c122-3ae6-42f6-8667-63ce2755e50f</guid><dc:creator>Radio</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;Currently I have connected nRF52840 DK to the USB. Li-Po battery also in place. SW9 selected as VDD. SW10 is OFF.&lt;/p&gt;
&lt;p&gt;In my code I am using&amp;nbsp;NRF_SAADC_INPUT_VDD config as for my SAADC channel (This time I am now using the SAADC example given by Nordic).&lt;/p&gt;
&lt;p&gt;In this scenario, I measure VDD as 3.0 V and is it correct to say that VDD value is from the USB power supply?&lt;/p&gt;
&lt;p&gt;If I really want to measure the Li-Po power, should I simply select Li-Po in SW9 and use&amp;nbsp;&lt;span&gt;NRF_SAADC_INPUT_VDD?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Should I disconnect USB cable before doing so?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52840 DK Battery Level Reading</title><link>https://devzone.nordicsemi.com/thread/259796?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 06:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79147e17-061a-4739-9248-21b9f0df9ee2</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Radio,&lt;/p&gt;
&lt;p&gt;I am guessing&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;this is about SW9.&lt;strong&gt; SW9&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is used for selecting the power source.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Li-Po: The nRF chip is powered by the Li-Po header on VDDH (high voltage regulator, REG0). The VDD domain on the DK has the same voltage as the output of REG0 (using a voltage follower, 1.8V as default)&lt;/li&gt;
&lt;li&gt;USB: Same as above except that the chip is powered by the nRF USB connector.&lt;/li&gt;
&lt;li&gt;VDD: Chip is powered from VDD domain, disabling the high voltage regulator. VDD domain is either USB, external supply or battery holder. When SW10 is ON, the chip is always powered from external supply.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So setting it on VDD should give correct measurements.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>