<?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>nRF52-DK: measuring Vdd (simple) with ACD (SDK V15.0.0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37774/nrf52-dk-measuring-vdd-simple-with-acd-sdk-v15-0-0</link><description>Hello, 
 
 I run the example given in SDK V15.0.0 to measure Vdd of nRF52-DK: 
 NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_SE(NRF_SAADC_INPUT_VDD); 
 I don&amp;#39;t change the default param: 
 - resolution = 10 bits 
 - ref = 0.6V 
 - gain = 1/6 
 As seen in console</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Aug 2018 08:11:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37774/nrf52-dk-measuring-vdd-simple-with-acd-sdk-v15-0-0" /><item><title>RE: nRF52-DK: measuring Vdd (simple) with ACD (SDK V15.0.0)</title><link>https://devzone.nordicsemi.com/thread/145833?ContentTypeID=1</link><pubDate>Mon, 27 Aug 2018 08:11:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90e8f4f3-9dc5-4198-b10d-a42b66535ab7</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;No wonder you are confused.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In SDK 15 we introduced the nrfx drivers in an attempt to prepare for future IC releases. However, we also decided to keep the legacy drivers so that customers who already had projects based on the old drivers could upgrade to SDK 15 without too much porting.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Most of the examples in SDK 15 use legacy function namespaces (e.g.&amp;nbsp;nrf_drv_saadc_buffer_convert), but also a &amp;quot;glue&amp;quot;-layer to convert these namespaces to the new nrfx namespace (nrf_drv_saadc_buffer_convert -&amp;gt;&amp;nbsp;nrfx_saadc_buffer_convert). So even though the examples use the legacy namespace on the &amp;quot;front&amp;quot; it is actually the nrfx drivers that er being used under the hood.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So yes, SDK 15 might seem like somewhat of a patchwork, but it is just a transition phase.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52-DK: measuring Vdd (simple) with ACD (SDK V15.0.0)</title><link>https://devzone.nordicsemi.com/thread/145710?ContentTypeID=1</link><pubDate>Fri, 24 Aug 2018 14:21:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:207f913b-aacd-473d-a5c7-4e5e1b9f09c9</guid><dc:creator>JohnM</dc:creator><description>&lt;p&gt;Yes you&amp;#39;re right!&amp;nbsp;&amp;nbsp; I just realized I were changing this one instead:&lt;/p&gt;
&lt;p&gt;#ifndef &lt;strong&gt;NRFX&lt;/strong&gt;_SAADC_CONFIG_RESOLUTION&lt;br /&gt;#define &lt;strong&gt;NRFX&lt;/strong&gt;_SAADC_CONFIG_RESOLUTION 0&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;It&amp;#39;s confusing because these 2 drivers are enabled in the example given in SDK:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1535120351972v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And the NRFX can be unchecked in there. Which is strange BTW because the NFRX_ are supposed to be the new versions and the other one whitout the prefix NFRX_ is the legacy one.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52-DK: measuring Vdd (simple) with ACD (SDK V15.0.0)</title><link>https://devzone.nordicsemi.com/thread/145620?ContentTypeID=1</link><pubDate>Fri, 24 Aug 2018 08:16:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20d5bb2c-58ef-4769-98c8-4dafc14f8bbb</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;How are you changing the resolution?&lt;/p&gt;
&lt;p&gt;If you are&amp;nbsp;trying the peripheral/saadc example, then&amp;nbsp;it should be enough to set&lt;/p&gt;
&lt;p&gt;&lt;code&gt;#define SAADC_CONFIG_RESOLUTION 0&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;in sdk_config.h.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>