<?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>Zephyr + ncs v2.6.0 + nrf52840 , about SPI with I2C issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114340/zephyr-ncs-v2-6-0-nrf52840-about-spi-with-i2c-issue</link><description>Hi. 
 
 
 
 
 I start SPI as well as I2C at the same time . then build code , the build error is occur . below is error code . 
 
 
 
 
 The SPI and I2C cannot be used at the same time ? so i change SPIM to 1 and I2C to 0 then build code , the error is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Aug 2024 12:21:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114340/zephyr-ncs-v2-6-0-nrf52840-about-spi-with-i2c-issue" /><item><title>RE: Zephyr + ncs v2.6.0 + nrf52840 , about SPI with I2C issue</title><link>https://devzone.nordicsemi.com/thread/500582?ContentTypeID=1</link><pubDate>Fri, 30 Aug 2024 12:21:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:006e4aec-2a57-49d7-a8a0-e4cd49730a5a</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could it be that you have enabled the SPI1 instance multiple times? (check you prj.conf file and overlay file).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, I noticed that in your code snippet, it says &amp;quot;m_spi_master_0&amp;quot;, but I don&amp;#39;t see where that instance is set, so it could be just the name. But is it really using SPI instance 1 or 0?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>