<?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>15.2 s112 proximity example, battery service value not updating</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38842/15-2-s112-proximity-example-battery-service-value-not-updating</link><description>Hello, I&amp;#39;m able get an updated battery service value on nrf connect using the 15.2 s112 proximity example on the DK using a cr2032. Then adjusted the clock to LF RC and removed DEVELOP_IN_NRF52832 (needed for custom 810), flashed again to the DK, and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Sep 2018 19:46:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38842/15-2-s112-proximity-example-battery-service-value-not-updating" /><item><title>RE: 15.2 s112 proximity example, battery service value not updating</title><link>https://devzone.nordicsemi.com/thread/150554?ContentTypeID=1</link><pubDate>Wed, 26 Sep 2018 19:46:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b74b16f5-da85-440f-bc81-0098ff38869d</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;expecting not 0x64&lt;br /&gt;there is no diode on board&lt;br /&gt;removed the diode addition in code, still 0x64&lt;br /&gt;then checked for pin conflicts (its happened before)&lt;br /&gt;changed button pins from pins used on 832 (but not on 810),&lt;br /&gt;to actual 810 pins that are not being used,&lt;br /&gt;and now getting a value like 0x26&lt;/p&gt;
&lt;p&gt;thank-you again for this help, ...much appreciated&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 15.2 s112 proximity example, battery service value not updating</title><link>https://devzone.nordicsemi.com/thread/150398?ContentTypeID=1</link><pubDate>Wed, 26 Sep 2018 08:12:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1a943cd-ee51-4d65-a492-d2efdba94a5e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;What value do you expect&amp;nbsp;the output to be? The proximity example&amp;nbsp;adds a voltage drop for a diode on the DK,&amp;nbsp;DIODE_FWD_VOLT_DROP_MILLIVOLTS, to the battery voltage measurement. If you do not have this diode on your board, you should remove it from the code. Everything above 3000 mV (measurement + diode drop voltage) will output 100% (0x64).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 15.2 s112 proximity example, battery service value not updating</title><link>https://devzone.nordicsemi.com/thread/150346?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 23:10:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e51a1d0-41a0-4a57-ae73-ebe8fad11c1c</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;clock source? sdk_config.h &amp;gt; nRF_Softdevice &amp;gt; NRF_SDH_ENABLED &amp;gt; Clock&lt;/p&gt;
&lt;p&gt;RTT does show in both custom &amp;amp; DK of entering &lt;br /&gt;battery_level_meas_timeout_handler, and saadc_event_handler.&lt;/p&gt;
&lt;p&gt;But in RTT debug, the value will always be 0x64.&lt;br /&gt;Issue is when powered by cr2032.&lt;br /&gt;How best to debug in this situation?&lt;/p&gt;
&lt;p&gt;thank-you,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 15.2 s112 proximity example, battery service value not updating</title><link>https://devzone.nordicsemi.com/thread/150247?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 12:14:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4666ec83-b34a-48ee-b6ff-07d3d9142c0f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Where and how did you change the clock source to&amp;nbsp;&lt;span&gt;LF RC? You should debug the application and check if it enters the timout handler,&amp;nbsp;battery_level_meas_timeout_handler, and&amp;nbsp;saadc_event_handler. The first handler will trigger the SAADC sample, and the second handler will update the battery level.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>