<?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>How to enable SPI2 in sdk14.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40462/how-to-enable-spi2-in-sdk14-2</link><description>Hi All, 
 i am stuck in SPI2 enable. i am using sdk 14.2 for our design in previous i am using sdk 12.0 
 i am simply follow these steps in 14.2 and 12.0 to enable spi2. 
 it will return error code 17(dec). 
 
 #define SPI2_INSTANCE 2 
 
 
 static const</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Nov 2018 14:47:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40462/how-to-enable-spi2-in-sdk14-2" /><item><title>RE: How to enable SPI2 in sdk14.2</title><link>https://devzone.nordicsemi.com/thread/157343?ContentTypeID=1</link><pubDate>Wed, 14 Nov 2018 14:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ac9e38e-e49c-46b6-a0ea-15f619a9f471</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;It sounds like there is something with the sdk_config.h file that has a mismatch between the two SDK versions. Could you try taking a new sdk_config.h file from SDK v14.2, then enabling the functionality you need to see if the issue disappears?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable SPI2 in sdk14.2</title><link>https://devzone.nordicsemi.com/thread/157226?ContentTypeID=1</link><pubDate>Wed, 14 Nov 2018 08:41:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4691a8e7-0d66-4fc0-8e8a-43e5c3f5955c</guid><dc:creator>prateek</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;by default&amp;nbsp; PERIPHERAL_RESOURCE_SHARING_ENABLED is set to zero. &lt;/p&gt;
&lt;p&gt;i also try with SPIx_INSTANCE 0 it gives unknown state error&lt;/p&gt;
&lt;p&gt;when i try with SPIx_INSTANCE 2 it gives SPI2_IRQn is undefined in SDK 14.2 but in SDK12.0 no error comes.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Prateek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable SPI2 in sdk14.2</title><link>https://devzone.nordicsemi.com/thread/157224?ContentTypeID=1</link><pubDate>Wed, 14 Nov 2018 08:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab5c2fc9-93d4-4f05-bd97-0badcc4efba8</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you check if sdk_config.h::PERIPHERAL_RESOURCE_SHARING_ENABLED is set to &amp;#39;1&amp;#39;, and if it is, try setting it to zero?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>