<?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>Use SPI and I2C on nRF52832 at the same time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70732/use-spi-and-i2c-on-nrf52832-at-the-same-time</link><description>Hi, 
 
 I&amp;#39;d like to use SPI and I2C simultaneously on nRF52832. But I came across this post which says &amp;quot;if you use SPI0, TWI0 is not available&amp;quot;. Does this prevent me from using SPI and I2C at the same time? If not, how many SPI and I2C, together, can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Jan 2021 06:34:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70732/use-spi-and-i2c-on-nrf52832-at-the-same-time" /><item><title>RE: Use SPI and I2C on nRF52832 at the same time</title><link>https://devzone.nordicsemi.com/thread/290393?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 06:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:928e7492-d96a-49a3-83eb-370a70b03754</guid><dc:creator>jleng</dc:creator><description>&lt;p&gt;Thank you &lt;a href="https://devzone.nordicsemi.com/members/shaney"&gt;Shaney&lt;/a&gt;. It helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use SPI and I2C on nRF52832 at the same time</title><link>https://devzone.nordicsemi.com/thread/290391?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 06:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5d4c5b1-da4a-43b4-8b79-82dcad696e30</guid><dc:creator>Shaney</dc:creator><description>&lt;p&gt;You can only use one peripheral with the shard ID at one given time. See&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/memory.html?cp=4_2_0_7_3#topic"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/memory.html?cp=4_2_0_7_3#topic&lt;/a&gt; for which perihperals that share ID&amp;#39;s. As you can see in the table, the SPI and the TWI shares ID&amp;#39;s so if you want to use SPI and TWI at the same time you&amp;#39;ll need to use SPI0 and TWI1 for example. &lt;br /&gt;&lt;br /&gt;If I read the table correctly you have 3 SPI/TWI available so you could use any of the following combinations: &lt;/p&gt;
&lt;table height="84" width="295"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;3 SPI&lt;/td&gt;
&lt;td&gt;0 TWI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2 SPI&lt;/td&gt;
&lt;td&gt;1 TWI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1 SPI&lt;/td&gt;
&lt;td&gt;2 TWI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 SPI&lt;/td&gt;
&lt;td&gt;3 TWI&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Hope it is to any help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use SPI and I2C on nRF52832 at the same time</title><link>https://devzone.nordicsemi.com/thread/290390?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 06:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7832945b-556a-4134-b88e-78fbbb12f881</guid><dc:creator>jleng</dc:creator><description>&lt;p&gt;It probably doesn&amp;#39;t matter but I&amp;#39;m using Zephyr RTOS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>