<?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>How to get multi ADC data?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16371/how-to-get-multi-adc-data</link><description>I hope to use a acceleration sensor with nRF51822 dev kit. So I should use three ADC input. I tested getting one ADC data using adc_simple example(Keil_v5/ARM/Pack/NordicSemiconductor/nRF_Examples/11.0.0-2alpha/peripheral/adc_simple). But I don&amp;#39;t know</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Jul 2018 06:05:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16371/how-to-get-multi-adc-data" /><item><title>RE: How to get multi ADC data?</title><link>https://devzone.nordicsemi.com/thread/139661?ContentTypeID=1</link><pubDate>Wed, 11 Jul 2018 06:05:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7ffe577-787c-41d7-bf83-731fae6996a9</guid><dc:creator>hanmanthm</dc:creator><description>&lt;p&gt;You need to add Library file in your project .and try to make shortest path for your sdk&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get multi ADC data?</title><link>https://devzone.nordicsemi.com/thread/62668?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2016 09:55:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdb83cb1-de3c-44f8-b17e-5c52ba7d85c4</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The example is meant for SDK 11.0.0, but I can see you use SDK 11.0.0-2.alpha. Try it out using SDK 11.0.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get multi ADC data?</title><link>https://devzone.nordicsemi.com/thread/62667?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2016 06:39:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dd316e9-7c1b-4dd5-bfac-7d27b1df1f7d</guid><dc:creator>Potato</dc:creator><description>&lt;p&gt;Well, I removed and add again Drivers and Libraries, and modified project option-C/C++-Include Paths. I still have some errors and be fixing it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get multi ADC data?</title><link>https://devzone.nordicsemi.com/thread/62666?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2016 04:42:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29c33799-1aa8-4a35-b398-eb20f82e3d1a</guid><dc:creator>Potato</dc:creator><description>&lt;p&gt;I only installed
NodrdicSemiconductor::nRF_DeviceFamilyPack,
NodrdicSemiconductor::nRF_Drivers,
NodrdicSemiconductor::nRF_Examples,
NodrdicSemiconductor::nRF_Libraries
packs after install Keil uVision5&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get multi ADC data?</title><link>https://devzone.nordicsemi.com/thread/62665?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2016 02:36:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5aaf099f-06cc-40b7-a8c0-ef9f8eb4a934</guid><dc:creator>Potato</dc:creator><description>&lt;p&gt;Thank you for answering me. I downloaded and tried it but I got errors like below.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;*** Using Compiler &amp;#39;V5.06 (build 20)&amp;#39;, folder: &amp;#39;C:\Keil_v5\ARM\ARMCC\Bin&amp;#39;
Build target &amp;#39;nrf51422_xxac_s130&amp;#39;
compiling main.c...
..\..\..\main.c(19): error:  #5: cannot open source input file &amp;quot;nordic_common.h&amp;quot;: No such file or directory
  #include &amp;quot;nordic_common.h&amp;quot;
..\..\..\main.c: 0 warnings, 1 error
compiling bsp_btn_ble.c...
..\..\..\..\..\bsp\bsp_btn_ble.h(32): error:  #5: cannot open source input file &amp;quot;ble.h&amp;quot;: No such file or directory
  #include &amp;quot;ble.h&amp;quot;
..\..\..\..\..\bsp\bsp_btn_ble.c: 0 warnings, 1 error
compiling bsp.c...
..\..\..\..\..\bsp\boards.h(15): error:  #5: cannot open source input file &amp;quot;nrf_gpio.h&amp;quot;: No such file or directory
  #include &amp;quot;nrf_gpio.h&amp;quot;
..\..\..\..\..\bsp\bsp.c: 0 warnings, 1 error
compiling ble_advertising.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\ble\ble_advertising\ble_advertising.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\ble\ble_advertising\ble_advertising.c: 0 warnings, 1 error
compiling ble_conn_params.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\ble\common\ble_conn_params.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\ble\common\ble_conn_params.c: 0 warnings, 1 error
compiling ble_advdata.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\ble\common\ble_advdata.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\ble\common\ble_advdata.c: 0 warnings, 1 error
compiling ble_nus.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\ble\ble_services\ble_nus\ble_nus.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\ble\ble_services\ble_nus\ble_nus.c: 0 warnings, 1 error
compiling app_uart_fifo.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\libraries\uart\app_uart_fifo.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\libraries\uart\app_uart_fifo.c: 0 warnings, 1 error
compiling ble_srv_common.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\ble\common\ble_srv_common.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\ble\common\ble_srv_common.c: 0 warnings, 1 error
compiling nrf_delay.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\drivers_nrf\delay\nrf_delay.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\drivers_nrf\delay\nrf_delay.c: 0 warnings, 1 error
compiling nrf_drv_gpiote.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\drivers_nrf\gpiote\nrf_drv_gpiote.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\drivers_nrf\gpiote\nrf_drv_gpiote.c: 0 warnings, 1 error
compiling nrf_drv_common.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\drivers_nrf\common\nrf_drv_common.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\drivers_nrf\common\nrf_drv_common.c: 0 warnings, 1 error
compiling nrf_drv_adc.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\drivers_nrf\adc\nrf_drv_adc.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\drivers_nrf\adc\nrf_drv_adc.c: 0 warnings, 1 error
compiling nrf_drv_uart.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.c: 0 warnings, 1 error
compiling pstorage.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\drivers_nrf\pstorage\pstorage.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\drivers_nrf\pstorage\pstorage.c: 0 warnings, 1 error
compiling nrf_drv_ppi.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\drivers_nrf\ppi\nrf_drv_ppi.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\drivers_nrf\ppi\nrf_drv_ppi.c: 0 warnings, 1 error
compiling app_button.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\libraries\button\app_button.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\libraries\button\app_button.c: 0 warnings, 1 error
compiling nrf_drv_timer.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\drivers_nrf\timer\nrf_drv_timer.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\drivers_nrf\timer\nrf_drv_timer.c: 0 warnings, 1 error
compiling app_error.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\libraries\util\app_error.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\libraries\util\app_error.c: 0 warnings, 1 error
compiling app_error_weak.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\libraries\util\app_error_weak.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\libraries\util\app_error_weak.c: 0 warnings, 1 error
compiling app_fifo.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\libraries\fifo\app_fifo.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\libraries\fifo\app_fifo.c: 0 warnings, 1 error
compiling app_timer.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\libraries\timer\app_timer.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\libraries\timer\app_timer.c: 0 warnings, 1 error
compiling fstorage.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\libraries\fstorage\fstorage.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\libraries\fstorage\fstorage.c: 0 warnings, 1 error
compiling app_util_platform.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\libraries\util\app_util_platform.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\libraries\util\app_util_platform.c: 0 warnings, 1 error
compiling nrf_assert.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\libraries\util\nrf_assert.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\libraries\util\nrf_assert.c: 0 warnings, 1 error
compiling nrf_log.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\libraries\util\nrf_log.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\libraries\util\nrf_log.c: 0 warnings, 1 error
compiling retarget.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\libraries\uart\retarget.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\libraries\uart\retarget.c: 0 warnings, 1 error
compiling RTT_Syscalls_KEIL.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\external\segger_rtt\RTT_Syscalls_KEIL.c&amp;quot;: No such file or directory
..\..\..\..\..\..\external\segger_rtt\RTT_Syscalls_KEIL.c: 0 warnings, 1 error
compiling SEGGER_RTT.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\external\segger_rtt\SEGGER_RTT.c&amp;quot;: No such file or directory
..\..\..\..\..\..\external\segger_rtt\SEGGER_RTT.c: 0 warnings, 1 error
compiling SEGGER_RTT_printf.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\external\segger_rtt\SEGGER_RTT_printf.c&amp;quot;: No such file or directory
..\..\..\..\..\..\external\segger_rtt\SEGGER_RTT_printf.c: 0 warnings, 1 error
compiling softdevice_handler.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..\..\..\..\..\..\components\softdevice\common\softdevice_handler\softdevice_handler.c&amp;quot;: No such file or directory
..\..\..\..\..\..\components\softdevice\common\softdevice_handler\softdevice_handler.c: 0 warnings, 1 error
&amp;quot;.\_build\nrf51422_xxac_s130.axf&amp;quot; - 3 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:02
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I located the example folder at &amp;quot;C:\Keil_v5\ARM\Pack\NordicSemiconductor\nRF_Examples\11.0.0-2.alpha\ble_peripheral\ble_app_uart_adc_scan_mode&amp;quot;.&lt;/p&gt;
&lt;p&gt;And actually I hope to test multi ADC(for acceleration sensor) based with &amp;quot;C:\Keil_v5\ARM\Pack\NordicSemiconductor\nRF_Examples\11.0.0-2.alpha\peripheral\adc_simple&amp;quot; this sample, if it is possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get multi ADC data?</title><link>https://devzone.nordicsemi.com/thread/62664?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2016 09:56:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21dfb53a-b909-4684-adf3-4177dd259f09</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please look at the &lt;a href="https://github.com/NordicSemiconductor/nrf51-ADC-examples"&gt;ble_app_uart_adc_scan_mode example available on Nordic&amp;#39;s Github page&lt;/a&gt;. Scan mode means that the ADC samples on multiple pins. There is some documentation provided when you click on the ble_app_uart_adc_scan_mode folder. Specifically look at how multiple inputs are configured in the adc_config function and how samples are handled in the adc_event_handler callback function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>