<?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>SPIM DMA nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23619/spim-dma-nrf52840</link><description>Hi 
 Is there a sample code for SPIM DMA nrf52840? I only found smaple code for SPI in the development kit. Thanks for helping. 
 Best Regards
ZQ</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Jul 2017 11:35:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23619/spim-dma-nrf52840" /><item><title>RE: SPIM DMA nrf52840</title><link>https://devzone.nordicsemi.com/thread/92808?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 11:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae553cea-3791-447e-b604-3540fd52977e</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;OK, the answer should be in &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/spim.html?cp=2_0_0_29#concept_j35_hv2_wr"&gt;nRF52840 Objective Product Specification&lt;/a&gt; and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/hardware_driver_spi_master.html?cp=4_0_0_2_12"&gt;nRF5 SDk v13.1.0 documentation of SPIM driver module&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM DMA nrf52840</title><link>https://devzone.nordicsemi.com/thread/92807?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 11:34:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5024ef55-300a-4714-bb40-6fde072a6a43</guid><dc:creator>hzqn1234</dc:creator><description>&lt;p&gt;I see.. if I am using nrf_drv_spi_transfer, the buffer size set here is equivalent to the actual buffer size for tx/rx. Thanks for helping.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM DMA nrf52840</title><link>https://devzone.nordicsemi.com/thread/92806?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 11:30:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f234b64-065e-4b73-a539-bff036b27de1</guid><dc:creator>hzqn1234</dc:creator><description>&lt;p&gt;Using that SPI sample code, I am able to set the mode as SPIM DMA. But I would like to know how I can configure this DMA mode. For example, what should I do if I want to set the max buffer size for transfer/receiver before the data is read/write by the MCU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM DMA nrf52840</title><link>https://devzone.nordicsemi.com/thread/92805?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 08:45:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bf34172-16eb-47f3-b0ef-deb61855332e</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;What do you mean by&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;quot;I only found smaple code for SPI in the development kit&amp;quot;?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;All SPI Master examples should by default use SPIM HW peripheral block with DMA... see &lt;code&gt;sdk_config.h&lt;/code&gt; file in the example you are using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>