<?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>Slow ADC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111669/slow-adc</link><description>Hello, 
 I am using the ADC on my custom board, based on nRF9160. 
 I am getting correct results when measuring a known voltage. However, I noticed that the execution is very slow. 
 I am using the following code. Using a scope, I can see that it takes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 May 2024 09:41:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111669/slow-adc" /><item><title>RE: Slow ADC</title><link>https://devzone.nordicsemi.com/thread/486614?ContentTypeID=1</link><pubDate>Thu, 30 May 2024 09:41:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d9c1996-db89-4f56-a6c7-21efd2760c1c</guid><dc:creator>JyriLehtinen</dc:creator><description>&lt;p&gt;I haven&amp;#39;t tried using the SAADC over Zephyr ADC driver, but as far as I know the Zephyr drivers only support rather basic usage and I wouldn&amp;#39;t use it for anything that requires performance. I&amp;#39;d implement using the nrfx saadc driver or registers directly if that&amp;#39;s your thing.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We&amp;#39;re using PPI to time differential sampling, set up with registers directly (mostly because we were more comfortable with that rather than using the library notation, though the difference is rather small as the macros make the thing slightly tedious to read),&amp;nbsp;allows full use of the hardware support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>