<?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>SPI DMA with SDK15</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38696/spi-dma-with-sdk15</link><description>Hello, 
 after migrating to SDK15 we noticed, that our spi master seems to clock out single bytes instead of a continous clock for the whole transfer. 
 The Migration guide mentions the following: 
 combined drivers for peripherals with EasyDMA and without</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Sep 2018 13:12:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38696/spi-dma-with-sdk15" /><item><title>RE: SPI DMA with SDK15</title><link>https://devzone.nordicsemi.com/thread/149649?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 13:12:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47897f98-dcb9-4203-ae80-190716ac8f64</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I&amp;#39;m glad you made it work. And thank you for the suggestion.&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI DMA with SDK15</title><link>https://devzone.nordicsemi.com/thread/149647?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 13:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b010d0d-8909-44b2-a1e2-b38ea49cdceb</guid><dc:creator>Niclas Heitz</dc:creator><description>&lt;p&gt;Hello Martin,&lt;/p&gt;
&lt;p&gt;deleting the legacy defines completely from the SDK seems to work.&lt;/p&gt;
&lt;p&gt;Now everything that happend when compiling makes much more sense.&lt;/p&gt;
&lt;p&gt;Still maybe a bigger note in the migration guide could mention this , since the sdk_config.h provided in&lt;/p&gt;
&lt;p&gt;SDK15\config\nrf52832\config\ contains both old and new defines.&lt;/p&gt;
&lt;p&gt;Thanks for your help and best regards,&lt;/p&gt;
&lt;p&gt;Niclas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI DMA with SDK15</title><link>https://devzone.nordicsemi.com/thread/149622?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 11:41:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5c93e73-e5ba-4740-b084-e5930fecea20</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;i activated all SPI defines in the sdk_config.h&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34317/undefined-reference-to-nrfx_twi_tx/132496#132496"&gt;&lt;span&gt;&lt;br /&gt;If you want to use nrfx functions you need to remove all TWI (legacy) defines from sdk_config file. It is not enough to set TWI_ENABLE to 0.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;&lt;strong&gt;In general there seems to be a big problem with dependency on legacy_drivers going on in SDK15.&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;I agree.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;&lt;strong&gt;Will it be possible in the near future to just include the new NRFX versions of drivers without errors?&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;I hope so. The point of including both the legacy and the new nrfx drivers was once again to ease migration from one SDK to another.&amp;nbsp;How successful&amp;nbsp;it was I guess is debatable, but the legacy drivers will definitely be removed at some point.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI DMA with SDK15</title><link>https://devzone.nordicsemi.com/thread/149620?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 11:29:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46832424-d183-4b2f-ba4b-10a1444b2767</guid><dc:creator>Niclas Heitz</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;i activated all SPI defines in the sdk_config.h but I don&amp;#39;t understand which ones are really needed:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SPI_ENABLED 1 (which was also in the old SDK so I assume its legacy)&lt;/li&gt;
&lt;li&gt;NRFX_SPIM_ENABLED 1 (the correct new one with DMA support)&lt;/li&gt;
&lt;li&gt;NRFX_SPI_ENABLED 1 (the nrf51 migration version?)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With all enabled I can solve the compiler error for NRFX_SPIM_INSTANCE() even though I don&amp;#39;t understand the dependency.&lt;/p&gt;
&lt;p&gt;In general there seems to be a big problem with dependency on legacy_drivers going on in SDK15.&lt;/p&gt;
&lt;p&gt;Will it be possible in the near future to just include the new NRFX versions of drivers without errors?&lt;/p&gt;
&lt;p&gt;The migration guide says:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;replacing old configuration options contained in &amp;quot;sdk_config.h&amp;quot; with their new versions by adding NRFX_ prefix to their names&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;But in the cases I tried (SPI, RNG), I always needed the old ones as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Niclas&lt;/p&gt;
&lt;p&gt;EDIT: ok the ticket you linked linked to another ticket saying i have to delete all legacy defines from sdk_config instead of disabling them, so i will give this a try&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI DMA with SDK15</title><link>https://devzone.nordicsemi.com/thread/149611?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 11:06:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64485a1f-ceeb-40b3-afc7-901c916cee54</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/spi.html?cp=2_1_0_47#concept_cdm_gk4_sr"&gt;SPI&lt;/a&gt; and TWI &lt;em&gt;without&lt;/em&gt; the &amp;#39;M&amp;#39;&amp;nbsp;are &amp;quot;legacy&amp;quot; peripherals that are pretty much copy-pasted functionality from the nRF51 series. We chose to include these on the nRF52 to make it easier for customers to migrate from 51 to 52. These peripherals do not have EasyDMA.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/spim.html?cp=2_1_0_30#concept_j35_hv2_wr"&gt;SPIM&lt;/a&gt; and TWIM&amp;nbsp;&lt;em&gt;with&lt;/em&gt; the &amp;#39;M&amp;#39; are new and improved&amp;nbsp;peripherals with EasyDMA, so this is what you need to use. What compiler errors do you see when you use the SPIM drivers? &lt;a href="https://devzone.nordicsemi.com/search?q=nrfx%20sdk%2015%20compiler#serpq=nrfx%20sdk%2015%20compiler"&gt;You are not the first one to struggle with nrfx drivers and migration from SDK 14 to 15 by the way&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>