<?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>NRF52832 battery measure - ublox nina B112</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65659/nrf52832-battery-measure---ublox-nina-b112</link><description>Sir, 
 I finally got success to measure the Coin Battery using a analog INPUT of NRF52832, AIN4 
 i am using ZEPHYR RTOS 
 I have to connect the BATTERY VDD to the AIN4. 
 My question, is there some mode using the saadc that you config to use the ADC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Sep 2020 13:15:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65659/nrf52832-battery-measure---ublox-nina-b112" /><item><title>RE: NRF52832 battery measure - ublox nina B112</title><link>https://devzone.nordicsemi.com/thread/268541?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2020 13:15:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f950660f-fc44-4e75-b7fa-d4ce59eeffe2</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="tcpipchip"]All working now[/quote]
&lt;p&gt;Great, I am happy to hear that!&lt;br /&gt;&lt;br /&gt;Please do not hesitate to open another ticket if you should encounter any issues or questions in the future.&lt;br /&gt;&lt;br /&gt;Good luck with your development!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 battery measure - ublox nina B112</title><link>https://devzone.nordicsemi.com/thread/268487?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2020 11:20:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e5545d4-63f6-42d3-99c7-e21de6816141</guid><dc:creator>Miguel</dc:creator><description>&lt;p&gt;All working now &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1599564033718v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;thanks a lot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 battery measure - ublox nina B112</title><link>https://devzone.nordicsemi.com/thread/268411?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2020 07:41:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a0ac79b-7cac-4e4e-8276-062c6a2c57f5</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]My question, is there some mode using the&amp;nbsp;saadc that you config to use the ADC to read the internal VDD and not the AIN4 ?[/quote]
&lt;p&gt;Yes, you can use the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.0%2Fgroup__nrf__saadc__hal.html&amp;amp;anchor=ga4adceebeae2b334a695d4aecb640fe35"&gt;NRF_SAADC_INPUT_VDD&lt;/a&gt;&amp;nbsp;option to have the SAADC sample the VDD bus internally.&lt;br /&gt;&lt;br /&gt;Furthermore, I do not know what you wanted to show with the the configuration struct you have included, since you are using defines for all the parameters and not including their defined value I have no way of knowing what you are configuring here. &lt;br /&gt;I would recommend using the HAL layer macros and defines when possible, such as for the ADC_GAIN parameter I would use one of the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.0%2Fgroup__nrf__saadc__hal.html&amp;amp;anchor=gadda2525fbe5db392d1c1980c4a1286a0"&gt;SAADC GAIN enumerations&lt;/a&gt;,&amp;nbsp;preferably.&lt;br /&gt;&lt;br /&gt;Please do not hesitate to ask if you should encounter any other issues or questions!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>