<?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>How Do I Enable SAADC in SDK 14.2?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91321/how-do-i-enable-saadc-in-sdk-14-2</link><description>I am trying to use SAADC. 
 When viewing the contents of nrfx_saadc.c in SEGGER IDE all the code is greyed-out. 
 I verified it is enabled in sdk_config.h: 
 // &amp;lt;e&amp;gt; NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver //=========================</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Sep 2022 01:43:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91321/how-do-i-enable-saadc-in-sdk-14-2" /><item><title>RE: How Do I Enable SAADC in SDK 14.2?</title><link>https://devzone.nordicsemi.com/thread/384891?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 01:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:519ee54e-3987-405e-b405-9baa59f652e9</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Great, I am glad to hear that everything now works as expected! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please do not hesitate to open another ticket if you should encounter any other 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: How Do I Enable SAADC in SDK 14.2?</title><link>https://devzone.nordicsemi.com/thread/384853?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 16:58:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65729d4a-5e52-49fa-b268-2e87dbd3afe8</guid><dc:creator>davidb</dc:creator><description>&lt;p&gt;Ok. I found the offending define a commented it out. Everything builds as&amp;nbsp; expected.&lt;/p&gt;
&lt;p&gt;Thx for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How Do I Enable SAADC in SDK 14.2?</title><link>https://devzone.nordicsemi.com/thread/383565?ContentTypeID=1</link><pubDate>Sun, 28 Aug 2022 23:50:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a5d0421-7b71-4577-b942-5781ee763a1d</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Actually, it is - the check is for whether it is&amp;nbsp;&lt;em&gt;defined&lt;/em&gt; or not, not what the value is. In your case, the SAADC_ENABLE is defined to 0, but defined nonetheless.&lt;br /&gt;I have edited my previous comment to highlight this difference.&lt;br /&gt;Please comment it out, or remove it from the sdk_config entirely, and see if this resolves your issue.&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: How Do I Enable SAADC in SDK 14.2?</title><link>https://devzone.nordicsemi.com/thread/383343?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 17:18:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36892684-704a-4603-8418-453f1aa1a5f0</guid><dc:creator>davidb</dc:creator><description>&lt;p&gt;Legacy SAADC_ENABLED is not present in sdk_config.h.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1754.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../1754.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How Do I Enable SAADC in SDK 14.2?</title><link>https://devzone.nordicsemi.com/thread/383148?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 01:45:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ea06182-f2ef-4e5e-9aba-ce7f45c2aeba</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Could you check whether the legacy SAADC_ENABLED is also&amp;nbsp;&lt;em&gt;defined&lt;/em&gt; in your sdk_config.h?&lt;br /&gt;If the legacy enable is&amp;nbsp;&lt;em&gt;defined&lt;/em&gt; then apply_old_config will overwrite your nrfx configuration, and replace it with the legacy configuration. This means that it is not enough to set the legacy SAADC_ENABLED to 0, it must be commented out or removed from the file, so that it is not longer&amp;nbsp;&lt;em&gt;defined&lt;/em&gt;.&lt;br /&gt;Therefore, if you are using the nrfx drivers you should make sure that the legacy defines and configurations for that particular peripheral is not defined in your sdk_config concurrently.&lt;br /&gt;&lt;br /&gt;Please try this, and let me know if it resolves the issue :)&amp;nbsp;&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>