<?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>I2C/TWI slave with nRF51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1643/i2c-twi-slave-with-nrf51822</link><description>Hi 
 I need to implement I2C slave side (up to 100kBit/s) on a nRF51822 chip. As far as i see the inegrated TWI peripherial only supportes the master side. Any ideas how to do it? The following ways came to my mind, but all seam not the way to go. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Sep 2014 12:33:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1643/i2c-twi-slave-with-nrf51822" /><item><title>RE: I2C/TWI slave with nRF51822</title><link>https://devzone.nordicsemi.com/thread/7231?ContentTypeID=1</link><pubDate>Fri, 19 Sep 2014 12:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fdfb404-51ec-4e04-872e-df4cf1383c02</guid><dc:creator>ti_me1</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;In our application, the nRF51 needs to combine the role as I2C-slave and I2C-master at the same bus. This is because we have event triggered I2C-telegrams in both directions. As long as the nRF51 does not have any telegram to send, it listenes in slave mode. If it wants to send a telegramm, it switches temporarily to master mode.&lt;/p&gt;
&lt;p&gt;Afaik, the SC18IS602B works only as I2C-slave. At the moment, I am thinking about using the nRF51 peripheral TWI0 as I2C-master and the SPI0 to connect the SC18IS602B. The I2C-bus of this chip I want to connect to the TWI0. If anyone knows a simpler solution, I would be very interested.&lt;/p&gt;
&lt;p&gt;@Adrian: For me, too, I2C-slave functionality is a point for the wishlist of the next chip generation from Nordic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C/TWI slave with nRF51822</title><link>https://devzone.nordicsemi.com/thread/7230?ContentTypeID=1</link><pubDate>Thu, 08 May 2014 06:11:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b027ee02-b1b8-485e-a725-3a3af88ac437</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;It apears that the bridge chip is the only real way to do. The software I2C can&amp;#39;t be done with a parallel working softdevice.
I agree it would be better to have an integrated way to do. Maybe a point for the wishlist for the next gen chip from Nordic?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C/TWI slave with nRF51822</title><link>https://devzone.nordicsemi.com/thread/7229?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2014 14:52:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6154dd1-149b-4acc-bea4-a704c3e1027d</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;Yesterday I set up nRF51822 Evaluation Board to become I2C-master and to connect to some I2C-devices, and it seems to work. I just needed four wires from the board&amp;#39;s pins to connect to I2C devices (GND, Vcc, SCL and SDA). The code I used was from Nordic&amp;#39;s example, twi_hw_master.c or something like that.&lt;/p&gt;
&lt;p&gt;However, we would also need to have I2C-slave there because the system connects to another system as a slave while being master for the another part. I am thinking if SPI-slave could somehow be tricked to become I2C-slave, or would there be any efficient way to do it in software (interrupts?).&lt;/p&gt;
&lt;p&gt;The bridge chip I mentioned is one possible solution, but not an optimal one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C/TWI slave with nRF51822</title><link>https://devzone.nordicsemi.com/thread/7228?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2014 09:42:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:112d9fca-d5aa-4c14-9c5b-882ee92961f1</guid><dc:creator>ABDELLI-W</dc:creator><description>&lt;p&gt;Hi,
I&amp;#39;m in the same context, i want to create an I2C library.
Please, help me to prepare this project and how i add the includes for so that the compilation works well
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C/TWI slave with nRF51822</title><link>https://devzone.nordicsemi.com/thread/7227?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2014 13:16:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6a2e38c-6fa2-4752-9b31-da7a0e10689d</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;Thank you for this answer. I guess this will work with the nRF51822. I&amp;#39;ll have a closer look to the NXP chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C/TWI slave with nRF51822</title><link>https://devzone.nordicsemi.com/thread/7226?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2014 12:23:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b70e283e-f24b-456f-aaa6-65a60e7e22b5</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;We have used a chip of type &amp;quot;SC18IS602B I2C-bus to SPI bridge&amp;quot; that seems to work, although we used it with an atmel atmega32u4. But there&amp;#39;s no reason it wouldn&amp;#39;t work with nRF51822, too. However, it&amp;#39;s not very simple to use in case you want to read data from the slave. Doable, but requires a bit patience to get everything working.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jarmo Nikula
iProtoXi Oy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>