<?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>About DMA...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52171/about-dma</link><description>Hello , 
 I use SDK 15.3, chip is nRF52811 
 If I want to use DMA+SPI, is there a reference example? 
 Is this DMA called easyDMA? 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Sep 2019 09:01:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52171/about-dma" /><item><title>RE: About DMA...</title><link>https://devzone.nordicsemi.com/thread/210322?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 09:01:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:795d8647-6034-4b88-a680-ae24fb25d70f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Correct, when SPI_USE_EASY_DMA is enabled the SPI transactions will use (Easy)DMA. You should be able to confirm it by seeing a small current increase when EasyDMA is enabled, as opposed to when this is disabled. And yes, this is the only necessary step to enable/disable DMA in the SPI example.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About DMA...</title><link>https://devzone.nordicsemi.com/thread/210249?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 01:21:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c39735d-720d-4aa9-bfa7-89fb0a06dd67</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your&amp;nbsp;reply.&lt;/p&gt;
&lt;p&gt;I still don&amp;#39;t understand&lt;/p&gt;
&lt;p&gt;In sdk_config.h, I did find easyDMA&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4024.q1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Then, in main.c, the while(1) loop inside the main function&lt;/p&gt;
&lt;p&gt;Have the following line of code&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrf_drv_spi_transfer(&amp;amp;spi, m_tx_buf, m_length, m_rx_buf, m_length)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This SPI transmission method is DMA?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About DMA...</title><link>https://devzone.nordicsemi.com/thread/209856?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2019 13:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c7050e1-a898-4570-912f-ba9843443c61</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Tony&lt;/p&gt;
&lt;p&gt;Yes, there should be multiple SPI examples in the \..\&lt;span&gt;SDK15.3\examples\peripheral folder, and you should be able to enable DMA (EasyDMA) on all of them using the sdk_config.h file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>