<?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 sampling rate</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82851/saadc-sampling-rate</link><description>Hello, 
 I&amp;#39;m using following code to read ADC values. The minimum sampling time I&amp;#39;m able to read the ADC reliably is 60ms. I want to lower it to say 5ms or 10ms. 
 Is there any thing I can change in the code to make this happen. 
 I can lower the sampling</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Dec 2021 15:11:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82851/saadc-sampling-rate" /><item><title>RE: SAADC sampling rate</title><link>https://devzone.nordicsemi.com/thread/344189?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 15:11:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8ff9146-5351-49c5-9064-967e3bdec006</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It sounds a bit odd that you would be unable to use a faster sampling interval than 60ms. The ADC can sample much faster than this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Most likely the issue is related to the interrupt processing, which happens as soon as the ADC buffers fill up, but 5-10ms is not very fast for interrupts either.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have a lot of other activities in the application that could be delaying the processing of the interrupts?&lt;/p&gt;
&lt;p&gt;One thing you can do to reduce the amounf of SAADC interrupts is to increase the size of the ADC buffer, set by the&amp;nbsp;SAMPLES_IN_BUFFER define, so that the SAADC module will do more samples before the buffers fill up and you need to process them.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>