<?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 in Soft Device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38981/twi-in-soft-device</link><description>Hi, 
 when the micro go in: idle_state_handle(); I have 2 possibility: 
 
 If the soft device is present use the first instructions else the second. 
 This is correct, but why in the TWI, during reading or writing, the code use only the __WFE ? 
 
 If</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Oct 2018 12:34:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38981/twi-in-soft-device" /><item><title>RE: TWI in Soft Device</title><link>https://devzone.nordicsemi.com/thread/150966?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 12:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fed2999c-b75c-4ad3-983b-3e931047777a</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Using __WFE() in this case will not break anything, but&amp;nbsp;you are right that when the softdevice is enabled one should use&amp;nbsp;sd_app_evt_wait() in general (even in this case if you like).&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>