<?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>nRF52849 - SPIM: problem using 3 instances</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78910/nrf52849---spim-problem-using-3-instances</link><description>Good day, dear developers, 
 I am using nRF52840 with SDK15, no OS. System has 4 SPI devices (2xSPI, 1xQSPI, 1xLCD controller SPI) and 1 - I2C, all having dedicated bus (no sharing). Configuring 2 SPI devices + 1 I2C works just perfect. However, 3 SPI</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Oct 2021 12:16:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78910/nrf52849---spim-problem-using-3-instances" /><item><title>RE: nRF52849 - SPIM: problem using 3 instances</title><link>https://devzone.nordicsemi.com/thread/334861?ContentTypeID=1</link><pubDate>Tue, 19 Oct 2021 12:16:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c5382c5-f4c6-4022-b2dc-0d047d62026e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Great to hear you figured it out. I will consider the case resolved then &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52849 - SPIM: problem using 3 instances</title><link>https://devzone.nordicsemi.com/thread/334693?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2021 20:31:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db205457-ba11-46d3-a1a0-576821ae7270</guid><dc:creator>Kostic</dc:creator><description>&lt;p&gt;Thanks for your support! The problem was related to configuration of SPIM0..3 instances (conflict between SDK code and certain things that we overrode).&lt;br /&gt;So, nRF / SDK works fine!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52849 - SPIM: problem using 3 instances</title><link>https://devzone.nordicsemi.com/thread/326778?ContentTypeID=1</link><pubDate>Thu, 26 Aug 2021 12:11:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e047b7d-7f0b-461e-af13-0a7bf0e0e85d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Just let me know how the test turns out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to share your sdk_config.h file with me?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52849 - SPIM: problem using 3 instances</title><link>https://devzone.nordicsemi.com/thread/326619?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 20:03:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bbd892f-a1c6-4667-8a4b-a7eb71d74a46</guid><dc:creator>Kostic</dc:creator><description>&lt;p&gt;Thanks for the reply!&lt;br /&gt;1. We are using SPI0 + SPI2 + SPI3 + TWI1. So, based on your comment this config should work.&lt;br /&gt;2. Device #3 is on SPI2 instance. In other words, SPI0 + SPI3 + TWI1 works fine. But when we add SPI2 - nothing happens on SPI2 bus (no issues with other instances, and no driver errors).&lt;br /&gt;3. I tried to hook up device 3 to instance SPI3 (and disable SPI2) - it works ok then. But I haven&amp;#39;t tried just to disable SPI0 or SPI3 to see if SPI2 then works. Will try!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52849 - SPIM: problem using 3 instances</title><link>https://devzone.nordicsemi.com/thread/326507?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 10:51:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:730ee22d-5616-4a16-84e0-99f1d3811e46</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you let me know which peripheral instances you are using, and what the instance is for the &amp;#39;3rd device&amp;#39;?&lt;/p&gt;
&lt;p&gt;Are you able to use the 3rd device if you disable one of the other peripherals?&lt;/p&gt;
&lt;p&gt;1. No, this should be possible, as long as you use TWIM0 with SPIM1, 2 and 3, or TWIM1 with SPIM0, 2, and 3.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Yes, all the EasyDMA channels are dedicated to their own peripheral. There is no sharing of EasyDMA channels between multiple peripherals.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. This is not a known issue with SDK v15.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>