<?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>Two Analog Signal using SAADC nRF52-DK (nRF52832)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19144/two-analog-signal-using-saadc-nrf52-dk-nrf52832</link><description>Hi all, 
 I need to take samples of a period of two periodic signals and made some DSP processing with both signals.
I need at least 64 to 128 samples per signals. 
 I been struggled with the SDK and the examples provided (This is my first project</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Jan 2017 15:24:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19144/two-analog-signal-using-saadc-nrf52-dk-nrf52832" /><item><title>RE: Two Analog Signal using SAADC nRF52-DK (nRF52832)</title><link>https://devzone.nordicsemi.com/thread/74092?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2017 15:24:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f8091b4-ab72-4d82-b454-a7ee84d0532c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html?cp=2_2_0_36_4_3#saadc_operationmodes_scan"&gt;scan mode&lt;/a&gt; and a timer to achieve this. By enabling two channels and use PPI to trigger the start task at the sampling rate you want. By calling nrf_drv_saadc_buffer_convert() with the desired amount of samples as a parameter, you will get a &lt;code&gt;NRF_DRV_SAADC_EVT_DONE&lt;/code&gt; event when the buffer is full. You can then stop the timer if you do not want more samples. The &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html?cp=2_2_0_36_5#saadc_easydma"&gt;timeline of the SAADC&lt;/a&gt; is shown in the documentation.&lt;/p&gt;
&lt;p&gt;I guess &lt;a href="https://github.com/NordicSemiconductor/nRF52-ADC-examples/tree/master/ble_app_uart__saadc_timer_driven__scan_mode"&gt;this is the example&lt;/a&gt; you are referring to? Even though this is not exactly what you want to do, I think it is still a good starting point for your application. You can strip away the parts not relevant for your application. Are you not going to use BLE at all?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>