<?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>High Sample Rate with ADC and SoftDevice of nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19835/high-sample-rate-with-adc-and-softdevice-of-nrf52832</link><description>I am trying to sample the ADC every 8ms.
During BLE transmission, the CPU will be blocked, therefore limiting the sampling frequency of the ADC?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Feb 2017 12:01:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19835/high-sample-rate-with-adc-and-softdevice-of-nrf52832" /><item><title>RE: High Sample Rate with ADC and SoftDevice of nRF52832</title><link>https://devzone.nordicsemi.com/thread/77135?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 12:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:131a3299-d79e-4acb-b383-7b84abda6fc8</guid><dc:creator>SaurabhPatel</dc:creator><description>&lt;p&gt;According to me, that should not be a problem with provided sampling rate. Song, I think you are sampling ADC in blocking mode instead of non-blocking mode. &amp;quot;nrf_drv_saadc_buffer_convert&amp;quot; can be use to prepare ADC for sample in non-blocking mode and trigger sample by calling &amp;quot;nrf_drv_saadc_sample()&amp;quot; right after the conversion function.&lt;/p&gt;
&lt;p&gt;You will redirected &amp;quot;NRF_DRV_SAADC_EVT_DONE&amp;quot; with this event, when ADC sampling is done. This process is handle by easyDMA rather to CPU. For continuous sampling, set two buffers for conversion and start sample it.&lt;/p&gt;
&lt;p&gt;Please refer &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk52.v0.9.1%2Fhardware_driver_saadc.html"&gt;link text&lt;/a&gt; for more details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High Sample Rate with ADC and SoftDevice of nRF52832</title><link>https://devzone.nordicsemi.com/thread/77134?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 11:03:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78e0f47b-98d7-474d-8e57-1b1db8db15b5</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;There should be no problem, as 8ms is not really demanding interval. SAADC has access to EasyDMA also. Sampling can be triggered ex. by timer, and acquisition does not need any CPU operation. I am doing 3 channels in 3ms interval without any problems, during BLE connection ofc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>