<?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 unresponsive when sending APDS-9306 stop command</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65808/twi-unresponsive-when-sending-apds-9306-stop-command</link><description>Hello, 
 We are developing a product using a nrf52832 and an APDS-9306 ambient light sensor. This sensor interface using the TWI peripheral. We are using the 14.2.0 SDK and the twi_mngr library. 
 When writing/reading on most registers on the APDS everything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Sep 2020 12:54:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65808/twi-unresponsive-when-sending-apds-9306-stop-command" /><item><title>RE: TWI unresponsive when sending APDS-9306 stop command</title><link>https://devzone.nordicsemi.com/thread/269171?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 12:54:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d24329b7-e8e6-4b72-bc27-9ef62e96330b</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems that the Slave doesn&amp;#39;t send the ACK and the nRF is therefore re sending the byte. Getting stuck in the&amp;nbsp;nrf_twi_mngr_perform() has been discussed before on this forum,&amp;nbsp;see the purposed &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/21639/twi-infinate-loop"&gt;solution here&lt;/a&gt;. You can try to do a STOP TASK when the timer expires to end the transfer.&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Jared&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>