<?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 transaction manager</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65995/spi-transaction-manager</link><description>What am I missing when 
 NRF_SPI_MNGR_DEF(my_spi_mgr, 2560, 0); 
 causes: 
 ../../../../../../integration/nrfx/legacy/nrf_drv_spi.h:120:37: error: &amp;#39;NRF_DRV_SPI_INSTANCE_0&amp;#39; undeclared here (not in a function); did you mean &amp;#39;NRF_DRV_SPI_INSTANCE_&amp;#39;? 
 ,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Sep 2020 04:48:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65995/spi-transaction-manager" /><item><title>RE: SPI transaction manager</title><link>https://devzone.nordicsemi.com/thread/269980?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2020 04:48:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6b4b2fa-79fe-4ffc-ae5b-58a0898c73c9</guid><dc:creator>turboscrew</dc:creator><description>&lt;p&gt;Yes. It was the configuration. Some more different SPI/SPIM/QUEUE enables, and it compiled fine.&lt;/p&gt;
&lt;p&gt;&amp;quot;Something old, something new...&amp;quot; :-D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI transaction manager</title><link>https://devzone.nordicsemi.com/thread/269979?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2020 04:46:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a4d3924-cc0d-4018-894f-76e6108d556a</guid><dc:creator>turboscrew</dc:creator><description>&lt;p&gt;Hmm, it looks like nrf_drv_spi.h includes apply_old_config.h even if sdk_config.h is included (&amp;lt;-nrfx.h&amp;lt;-nrfx_config.h&amp;lt;-sdk_config.h).&lt;/p&gt;
&lt;p&gt;The NRF_DRV_SPI_INSTANCE_0 is still not defined in nfr_drv_spi.h.&lt;/p&gt;
&lt;p&gt;Any idea what&amp;#39;s wrong?&lt;/p&gt;
&lt;p&gt;These are black:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_DRV_SPI_INSTANCE(id)    NRF_DRV_SPI_INSTANCE_(id)
#define NRF_DRV_SPI_INSTANCE_(id)   NRF_DRV_SPI_INSTANCE_ ## id
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;but these are gray:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#if NRFX_CHECK(NRFX_SPIM0_ENABLED)
    #define NRF_DRV_SPI_INSTANCE_0 \
        { 0, { .spim = NRFX_SPIM_INSTANCE(0) }, true }
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In sdk_config.h there is:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#ifndef NRFX_SPIM0_ENABLED
#define NRFX_SPIM0_ENABLED 1
#endif
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>