<?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>SAADC Limit Disabled Value</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21343/saadc-limit-disabled-value</link><description>In SDK 12.2, why is the SAADC #define NRF_DRV_SAADC_LIMITH_DISABLED (2047) set to this value? On a reset the register is set to 32767 according to the product spec and my tests using the debugger. 
 If I have a single ended channel then my upper limit</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Jul 2020 09:09:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21343/saadc-limit-disabled-value" /><item><title>RE: SAADC Limit Disabled Value</title><link>https://devzone.nordicsemi.com/thread/262140?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2020 09:09:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e0286a6-5054-41e9-8584-d6263c53f289</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is a not about this in the known issues section in the release notes for SDK 17:&lt;/p&gt;
&lt;pre&gt;*** Known Issues
****************

** Drivers and libraries **

- The SAADC driver (from nrfx 1.8.x) does not handle detection limits &amp;#39;high&amp;#39; and &amp;#39;low&amp;#39;
  correctly if SAADC resolution is greater than 10 bits.
  SAADC driver ported from nrfx 2.2.x is not affected by this.&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC Limit Disabled Value</title><link>https://devzone.nordicsemi.com/thread/262129?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2020 08:38:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d813728c-ba66-44ef-9709-d4a5a3696cb6</guid><dc:creator>Anne van Rossum</dc:creator><description>&lt;p&gt;In the newest SDK (&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.0%2Fgroup__nrfx__saadc.html&amp;amp;anchor=ga173d0e9cf60be60d50680180a5d82f83"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.0%2Fgroup__nrfx__saadc.html&amp;amp;anchor=ga173d0e9cf60be60d50680180a5d82f83&lt;/a&gt;) there are still the same defines:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define 	NRFX_SAADC_LIMITH_DISABLED   (2047)
 	Value to be set as high limit to disable limit detection.
 
#define 	NRFX_SAADC_LIMITL_DISABLED   (-2048)
 	Value to be set as low limit to disable limit detection. &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;As if they are true for any ADC configuration...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC Limit Disabled Value</title><link>https://devzone.nordicsemi.com/thread/83608?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2017 11:54:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72fffcc1-c975-4d42-96ad-d40c5f032db8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Sorry, I see this is not the way the implementation of limit_set in the driver works. I edited my above comment to avoid confusion. I did however try to increase the defines, and limits seems to work fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC Limit Disabled Value</title><link>https://devzone.nordicsemi.com/thread/83609?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 15:54:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acf9bf37-7b47-47e8-b4e4-f4eadc9e0181</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;Jorgen,&lt;/p&gt;
&lt;p&gt;Thanks for taking the time to reply and for looking into this issue.  I&amp;#39;m not sure that I understand your last statement &amp;quot;You should not need higher values for 12-bits though, as 2047 - (-2048) gives 4095 (2^12-1).&amp;quot;  If a channel is configured as single ended, with 12bits of resolution, then my maximum count value will be 4095 which is over the maximum limit of 2047.&lt;/p&gt;
&lt;p&gt;Thanks,
Darren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC Limit Disabled Value</title><link>https://devzone.nordicsemi.com/thread/83611?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 10:37:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa64febd-915f-4289-886a-9d13a1d63969</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure about why this is not set acording to product specifications, but it might be leftovers from an old chip version or version of the product specifications. I will check with the driver developer when he is back next week.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC Limit Disabled Value</title><link>https://devzone.nordicsemi.com/thread/83610?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2017 22:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de03d1cf-fcc8-4a55-ac34-7317ec172b00</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;Nordic team, Any update on this?&lt;/p&gt;
&lt;p&gt;Thanks, Darren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>