<?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>Using Two TWI and One SPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22765/using-two-twi-and-one-spi</link><description>My project needs to use 2 different TWI instances and 1 SPI instance. I knew that it is not possible to use three instances at the same time in nRF52. 
 To implement 2 TWI and 1 SPI, can I use 1 TWI SW and 2 TWI HW together? (I found TWI SW driver is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Jun 2017 19:29:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22765/using-two-twi-and-one-spi" /><item><title>RE: Using Two TWI and One SPI</title><link>https://devzone.nordicsemi.com/thread/89496?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 19:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a5aa074-9beb-4748-8fe2-a17e2140de1f</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Sara,&lt;/p&gt;
&lt;p&gt;You should be able to use two TWI instances and a SPI instance at the same time, according to the memory instance table in the nRF52832 Product Specification, found &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/memory.html?cp=2_1_0_7_3#topic"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;0x40003000 TWIM TWIM0 Two-wire interface master 0
0x40004000 TWIM TWIM1 Two-wire interface master 1
0x40023000 SPIM SPIM2 SPI master 2.
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Two TWI and One SPI</title><link>https://devzone.nordicsemi.com/thread/89495?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 10:51:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7711816c-261e-4923-9583-2de4d275b34a</guid><dc:creator>sara</dc:creator><description>&lt;p&gt;Hi RK: It needs to have 2 independent I2C and 1 SPI interface in our design (HW limitation), and that why I&amp;#39;m wondering if it can use 3 instances at the same time.&lt;/p&gt;
&lt;p&gt;Hi Bjørn Spockeli: We can&amp;#39;t change IC from nRF52832 to nRF52840. Is there any solution to meet our requirement?&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Two TWI and One SPI</title><link>https://devzone.nordicsemi.com/thread/89494?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 07:33:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:447e3d72-d9e3-4f36-b038-8c68958802bc</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@sara: If you need two dedicated TWI instances then you could take a look at the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/chips/nrf52840_ps.html?cp=2_1_0"&gt;nRF52840&lt;/a&gt;. It has an additional SPI peripheral, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/memory.html?cp=2_1_0_7_3#topic"&gt;this&lt;/a&gt; page in the Objective Product Spec. Note it is not in production yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Two TWI and One SPI</title><link>https://devzone.nordicsemi.com/thread/89493?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2017 04:54:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35f31d9b-0b51-4f54-87ba-ac39259b65eb</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;You can have multiple devices on one TWI bus, given them different addresses. You should never (well rarely) actually need two separate TWI peripheral instances, TWI is designed to talk to multiple slaves. That&amp;#39;s the easist way to do it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>