<?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>where is the saadc documentation? what driver should be used?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66335/where-is-the-saadc-documentation-what-driver-should-be-used</link><description>Hi All, 
 the sdk17 documentation has the sad adc included (sad because a 12-bit adc turns out to have 9 effective bits and then with +-3% error on top of all that effectively being a 5-bit converter!?!). 
 But which functions are to be used? I don&amp;#39;t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Sep 2020 13:29:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66335/where-is-the-saadc-documentation-what-driver-should-be-used" /><item><title>RE: where is the saadc documentation? what driver should be used?</title><link>https://devzone.nordicsemi.com/thread/271548?ContentTypeID=1</link><pubDate>Fri, 25 Sep 2020 13:29:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85ed6467-7585-4e65-a4c9-d724b25c4d6b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There seems to be an issue with the documentation link. I believe it intended to link to this file, or something similar:&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/v1.8.4/drivers/include/nrfx_saadc_v2.h"&gt;https://github.com/NordicSemiconductor/nrfx/blob/v1.8.4/drivers/include/nrfx_saadc_v2.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Any of the driver APIs are fine to use in nRF5 SDK. The legacy layer (nrf_drv_saadc_*) is the using nrfx_saadc_v1 implementation between the legacy layer. This is the API used in the SAADC example in the SDK. You can post this example to nrfx_saadc_v1 driver by following the instructions in&amp;nbsp;&lt;a title="Migration guide for nrfx drivers" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/nrfx_migration_user_guide.html?cp=7_1_2_7"&gt;Migration guide for nrfx drivers&lt;/a&gt;, but this will not give you any new features or increased performance.&lt;/p&gt;
&lt;p&gt;The nrfx_saadc_v2 driver API is a complete rewrite of the SAADC driver, to fix some known issues, and provide even more flexibility than the old driver. You can find a link to a few examples in the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/migration.html#migration_drv"&gt;SDK 17.0.2 migration guide&lt;/a&gt;, and I also added a couple of similar examples to &lt;a href="https://github.com/NordicPlayground/nRF52-ADC-examples"&gt;this GitHub repository&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>