<?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>TWI with S110 softdevice Enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5746/twi-with-s110-softdevice-enabled</link><description>Hello Everyone 
 I want to implement TWI interface in my project.Presently I am using Keil UV5 IDE, PCA10028 Development board and s110 7.1.0 softdevice, along with that PWM , UART and ADC peripherals are being used. I search for some of the question</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Mar 2015 11:15:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5746/twi-with-s110-softdevice-enabled" /><item><title>RE: TWI with S110 softdevice Enabled</title><link>https://devzone.nordicsemi.com/thread/20081?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2015 11:15:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bfa65cb-f1e7-4edb-ad50-6cdbbd760f0c</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The sd_twi_hw_master.c and hal_twi.c should both work with the SoftDevice.&lt;/p&gt;
&lt;p&gt;To elaborate a bit:&lt;/p&gt;
&lt;p&gt;In the early revisions of the nRF51822 the TWI circuitry didn&amp;#39;t function properly and a software workaround was made called twi_&lt;em&gt;sw&lt;/em&gt;_master.c. In the later revisions the hardware TWI works as intended, but if you are using a softdevice and the twi_hw_master.c the SD and TWI will get assigned the same PPI channel and the TWI will fail. Therefore you will have to use the sd_twi_hw_master.c to get the TWI working properly with the SD. Finally, the hal_twi.c was originally written to be used with the &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-R-low-energy/nRFready-Smart-Remote-2/(language)/eng-GB"&gt;nRFready Smart Remote 2&lt;/a&gt; and is not tested with anything else than the smart remote.&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI with S110 softdevice Enabled</title><link>https://devzone.nordicsemi.com/thread/20080?ContentTypeID=1</link><pubDate>Thu, 26 Feb 2015 04:04:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:967e75b3-eca8-43d4-94a3-151ab2b21c81</guid><dc:creator>asma</dc:creator><description>&lt;p&gt;Hi charles
Can you provide me your working example code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI with S110 softdevice Enabled</title><link>https://devzone.nordicsemi.com/thread/20079?ContentTypeID=1</link><pubDate>Thu, 26 Feb 2015 00:06:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f7fcd28-d8bb-495f-8c43-c148eaa855b8</guid><dc:creator>Charles Manning</dc:creator><description>&lt;p&gt;Both the S110 and S120 stacks both work with TWI.&lt;/p&gt;
&lt;p&gt;We have no problems reading/writing using twi_master_transfer().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>