<?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>Regarding SPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46796/regarding-spi</link><description>Dear nordic, 
 I need a advise from your side. my custom board has two spi device both are working same line. one is SD card interface and other is sensor which works in DMA(also i use softdevice in my application). 
 i have some question regarding this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Dec 2020 12:43:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46796/regarding-spi" /><item><title>RE: Regarding SPI</title><link>https://devzone.nordicsemi.com/thread/284525?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 12:43:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddc7eaa3-c122-4af0-955f-da80fe8f33ef</guid><dc:creator>liuluan1984</dc:creator><description>&lt;p&gt;thank you, I will check&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding SPI</title><link>https://devzone.nordicsemi.com/thread/184949?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 14:18:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dadb76fa-9fcd-4f86-ae3b-4bd2d740b02e</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;1. Yes.&amp;nbsp;NRFX_SPIM_EXTENDED_ENABLED&amp;nbsp; is only used for&amp;nbsp;&lt;a title="D/CX functionality" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/spim.html?cp=3_0_0_5_24_1#unique_1068392418"&gt;D/CX functionality&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;&lt;a title="nrfx_spim_xfer" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrfx__spim.html?cp=5_0_6_9_0_30_0_25#gae4b5f522da698ed536ce915ede1216ac"&gt;nrfx_spim_xfer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3. You will get an event when all bytes has been transferred and all received bytes are present in RAM.&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding SPI</title><link>https://devzone.nordicsemi.com/thread/184868?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 11:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3af975f6-e8d1-4631-b5a3-86a170c39ecb</guid><dc:creator>Alan Ajit</dc:creator><description>&lt;p&gt;Thanks for your replay. I see the example but i am little bit confusing.&lt;/p&gt;
&lt;p&gt;1. I want to enable SPI DMA. I think for enabling DMA&amp;nbsp;SPIX_USE_EASY_DMA set to 1 is it right?&lt;/p&gt;
&lt;p&gt;2. if I enable this which API i used to transfer the data through spi?&lt;/p&gt;
&lt;p&gt;as per above example i didn&amp;#39;t see&amp;nbsp;SPIX_USE_EASY_DMA&amp;nbsp; not set but i see&amp;nbsp;NRFX_SPIM_EXTENDED_ENABLED is enabled. Is this both are same?&lt;/p&gt;
&lt;p&gt;3. From your replay you said the event is triggered when full byte transfer complete.is it right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i need your help i want to know which API used to DMA tranfer ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding SPI</title><link>https://devzone.nordicsemi.com/thread/184805?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 09:04:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cb7b66b-323c-40f7-80d7-5c32cf525726</guid><dc:creator>haakonsh</dc:creator><description>&lt;ol&gt;
&lt;li&gt;You need to see the&amp;nbsp;&lt;a title="nrfx SPI Master Example" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/nrfx_spim_example.html?cp=5_0_4_6_38"&gt;nrfx SPI Master Example&lt;/a&gt;&amp;nbsp;of SDK15.3.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;DMA with SPI just means that the transfer is non-blocking with respect to the CPU. There should be no difference as seen from the SD Card.&lt;/li&gt;
&lt;li&gt;Yes, the event handler set up by the SPIM driver will be called after an SPI transfer has been completed and the received data has been moved to RAM.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>