<?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>Setting SAADC sampling interval with Easy-DMA in nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13714/setting-saadc-sampling-interval-with-easy-dma-in-nrf52832</link><description>I am trying to change analog-to-digital (SAADC) sampling interval when sampling using Easy-DMA in nRF52832. The code looks like follows (error checks removed for clarity): 
 void saadc_sampling_event_init(void)
 {
 nrf_drv_ppi_init();
 nrf_drv_timer_init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 May 2016 09:35:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13714/setting-saadc-sampling-interval-with-easy-dma-in-nrf52832" /><item><title>RE: Setting SAADC sampling interval with Easy-DMA in nRF52832</title><link>https://devzone.nordicsemi.com/thread/52414?ContentTypeID=1</link><pubDate>Tue, 10 May 2016 09:35:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d04e34bd-4ac3-48b3-bcad-56b5f0bac14b</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Thanks for sharing the solution with us. Much appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting SAADC sampling interval with Easy-DMA in nRF52832</title><link>https://devzone.nordicsemi.com/thread/52413?ContentTypeID=1</link><pubDate>Tue, 10 May 2016 09:05:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b814034-4a1a-40d0-b40d-45c706beabb8</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;Because I was using softdevice S132, I had to use TIMER1 instead of TIMER0. However, TIMER1 was configured as 16bit by default, unlike TIMER0 which is configured as 32bit. When I changed the definition at nrf_drv_config.h to become&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define TIMER1_CONFIG_BIT_WIDTH    TIMER_BITMODE_BITMODE_32Bit // this was 16Bit
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;the interval setting started to work as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>