<?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/16323/saadc-sampling-rate</link><description>I&amp;#39;d like to sample the SAADC at 1280Hz. The app_timer minimum seems to be 1ms (1000Hz).
If I use continuous sampling by setting SAMPLERATE then the minimum rate seems to be 16MHz/2047 or 7.8kHz. That seems like quite a gap in available rates.
Any ideas</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Feb 2017 09:36:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16323/saadc-sampling-rate" /><item><title>RE: SAADC sampling rate</title><link>https://devzone.nordicsemi.com/thread/62395?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 09:36:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d1b7f83-09e6-4fba-a003-9cff2ecbf395</guid><dc:creator>akshaey</dc:creator><description>&lt;p&gt;when i try to run this it gives the following error i don&amp;#39;t know why . thanks in advance&lt;/p&gt;
&lt;p&gt;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 bsp.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..........\bsp\bsp.c&amp;quot;: No such file or directory
..........\bsp\bsp.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_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 main.c...
......\main.c(28): 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...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;..........\bsp\bsp_btn_ble.c&amp;quot;: No such file or directory
..........\bsp\bsp_btn_ble.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 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 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 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_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_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_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 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 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 nrf_saadc.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\drivers_nrf\hal\nrf_saadc.c&amp;quot;: No such file or directory
............\components\drivers_nrf\hal\nrf_saadc.c: 0 warnings, 1 error
compiling nrf_drv_saadc.c...
&amp;quot;no source&amp;quot;: Error:  #5: cannot open source input file &amp;quot;............\components\drivers_nrf\saadc\nrf_drv_saadc.c&amp;quot;: No such file or directory
............\components\drivers_nrf\saadc\nrf_drv_saadc.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 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 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 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
assembling arm_startup_nrf52.s...
compiling system_nrf52.c...
&amp;quot;._build\nrf52832_xxaa_s132.axf&amp;quot; - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:02&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC sampling rate</title><link>https://devzone.nordicsemi.com/thread/62394?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 04:39:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b93b2382-77ce-460c-9d5d-70852674b82f</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;There are some examples available &lt;a href="https://github.com/NordicSemiconductor/nRF52-ADC-examples/blob/master/ble_app_uart__saadc_timer_driven__scan_mode/main.c"&gt;here&lt;/a&gt; for the SAADC, with and without TIMER.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC sampling rate</title><link>https://devzone.nordicsemi.com/thread/62393?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2016 22:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea008746-08f2-420d-b3ac-44f2e4fc7c99</guid><dc:creator>MichelG</dc:creator><description>&lt;p&gt;I think I may have answered my own question.
Using the &amp;quot;..\nRF5_SDK\examples\peripheral\timer&amp;quot; example, I was able to modify the program to trigger events at 1280Hz.  I still need to integrate it into my SAADC program.
Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>