<?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 master blocking mode &amp;amp; non-powered peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22267/twi-master-blocking-mode-non-powered-peripheral</link><description>Hello to all nordic jedi masters! 
 I have made an observation, on which I would like your confirmation.
My combo is: nrf52832 + SDK 11 + SD132. 
 Will my application &amp;quot;hang&amp;quot; if I am operating the TWI master in blocking mode, and there is no voltage</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 May 2017 08:34:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22267/twi-master-blocking-mode-non-powered-peripheral" /><item><title>RE: TWI master blocking mode &amp; non-powered peripheral</title><link>https://devzone.nordicsemi.com/thread/87533?ContentTypeID=1</link><pubDate>Wed, 24 May 2017 08:34:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0589b034-3e12-4850-b29a-3bb418ba9c68</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As described in &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/hardware_driver_twi.html?cp=4_0_0_2_16_1#hardware_driver_twi_basic"&gt;the documentation&lt;/a&gt;, when using blocking mode, the functions nrf_drv_twi_rx and nrf_drv_twi_tx return if the requested transfer is complete, or if an error was reported by the peripheral.&lt;/p&gt;
&lt;p&gt;If the device you are talking to is not responding or is not powered, the transfer functions will return with a NACK error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;NRF_ERROR_DRV_TWI_ERR_ANACK&lt;/strong&gt; -	If NACK received after sending the address in polling mode.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NRF_ERROR_DRV_TWI_ERR_DNACK&lt;/strong&gt; -	If NACK received after sending a data byte in polling mode.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>