<?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>Adding saadc driver to a project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86208/adding-saadc-driver-to-a-project</link><description>Hi, 
 I want to use in my project the saadc (I&amp;#39;m using segger embedded studio). So, I found that I have to add the driver file to the driver folder, and I have added the file nrfx_saadc.c (then I have added the folder path to the preprocessor). 
 Then</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Apr 2022 12:30:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86208/adding-saadc-driver-to-a-project" /><item><title>RE: Adding saadc driver to a project</title><link>https://devzone.nordicsemi.com/thread/362598?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 12:30:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33c40651-116d-4604-b0c4-e11a9f63ada0</guid><dc:creator>Andrea Rossi</dc:creator><description>&lt;p&gt;Hi, sorry for answering after such a long time. I resolved the problem. Thanks again for your hlep. Really kind.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding saadc driver to a project</title><link>https://devzone.nordicsemi.com/thread/360315?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 12:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0915f974-0b4b-46ee-bf0e-d9a6bf0ad355</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The repo just has a&amp;nbsp;Prova_controllo.lnk file, which I am not sure what is. Can you just push your project (so project files for whichever&amp;nbsp;toolchain you are using, code files, etc) to your GitHub? Remember that it&amp;nbsp;should&amp;nbsp; be complete so that it would build if I dropped it in a newly extracted nRF5 SDK. Then you are sure everything is included.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding saadc driver to a project</title><link>https://devzone.nordicsemi.com/thread/360303?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 12:42:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ecb5fcf-770a-4ea8-8386-d16275eafa6f</guid><dc:creator>Andrea Rossi</dc:creator><description>&lt;p&gt;Hi, thanks again.&lt;/p&gt;
&lt;p&gt;I have tried again but nothing. Of course, I upload the project. I you could give a brief look thanks very much.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/AndreaRossi98/test.git"&gt;https://github.com/AndreaRossi98/test.git&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding saadc driver to a project</title><link>https://devzone.nordicsemi.com/thread/360269?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 11:39:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18862ac2-6778-463e-bb5c-62e866f7848d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;That does not really mach the error you wrote you get (stating that&amp;nbsp;NRFX_SAADC_CONFIG_RESOLUTION is undefined), unless you undef it or the preprocessor excludes it. If you still have not solved it, you can upload your project and I can have a brief look to see if I spot the cause.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding saadc driver to a project</title><link>https://devzone.nordicsemi.com/thread/360039?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 14:01:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c00450b9-2475-443c-bd23-2222824cb068</guid><dc:creator>Andrea Rossi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I check and&amp;nbsp;&lt;span&gt;NRFX_SAADC_CONFIG_RESOLUTION is declared in this way in the sdk_config.h&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#ifndef NRFX_SAADC_CONFIG_RESOLUTION&lt;br /&gt;#define NRFX_SAADC_CONFIG_RESOLUTION 1&lt;br /&gt;#endif&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I also compare the sdk_config.h file from which I take the code with my new sdk_config.h file and the code related to saadc is the same&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding saadc driver to a project</title><link>https://devzone.nordicsemi.com/thread/360012?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 12:59:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f02a829-c32e-4e1e-bf30-1406e9cfedee</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you have the snippet from your original post in your application&amp;#39;s sdk_config.h, then&amp;nbsp;NRFX_SAADC_CONFIG_RESOLUTION will not be undeclared. Can you double check that this is not inside a block comment, or that you have not added it to the wrong sdk_config.h file by accident (from another project or similar).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding saadc driver to a project</title><link>https://devzone.nordicsemi.com/thread/359963?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 10:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03ea27a6-e72a-4787-bb4c-f778eec03299</guid><dc:creator>Andrea Rossi</dc:creator><description>&lt;p&gt;Thanks for helping.&lt;/p&gt;
&lt;p&gt;I tried to correct th sdk_config.h file, but it still does not compare.&lt;/p&gt;
&lt;p&gt;Also, I tried to include &amp;quot;nrf_saadc.h&amp;quot; and&amp;nbsp;&amp;quot;nrf_drv_saadc.h&amp;quot; library in the main file, but when I build there are errors.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For example, one is:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;#39;NRFX_SAADC_CONFIG_RESOLUTION&amp;#39; undeclared (first use in this function); did you mean &amp;#39;NRF_SAADC_INT_RESULTDONE&amp;#39;?&lt;/p&gt;
&lt;p&gt;They are all in nrfx_saadc.h file, which I have not modified, so I think the problem is due to the import and enable of the driver.&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding saadc driver to a project</title><link>https://devzone.nordicsemi.com/thread/359948?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 09:29:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67a6b9ef-2726-4d93-b9c0-eb835d0eba73</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;CMSIS configuration wizard will have problems displaying the sdk_config.h file in the GUI if there is an error in the tags it uses. Here it looks like you are missing a line with &amp;quot;// &amp;lt;/e&amp;gt;&amp;quot; at the end. (This has no effect on the preprocessor and compiler though, it is only a&amp;nbsp;problem for the GUI).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>