<?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 issue ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12519/twi-issue</link><description>Hello, 
 I have a capricious component on my TWI bus, and sometimes my nRF52 do an infinite loop in file nrf_drv_twi.c 
 in this loop
while (!nrf_twim_event_check(p_twim, evt_to_wait))
{
...
} 
 Why I have no done and no error ? Could it be possible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Aug 2016 10:50:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12519/twi-issue" /><item><title>RE: TWI issue ?</title><link>https://devzone.nordicsemi.com/thread/47474?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 10:50:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0244fb29-72b2-4fc2-b43e-65070c7d1671</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;For reference here is the new question: &lt;a href="https://devzone.nordicsemi.com/question/90325/possible-bug-i2c-stuck/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI issue ?</title><link>https://devzone.nordicsemi.com/thread/47473?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 09:12:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:449f4924-fdd9-48f7-85d6-42aac61372ae</guid><dc:creator>Elena</dc:creator><description>&lt;p&gt;Hi. I&amp;#39;m having the same problem. Usually, but not always, the SDA line remains constantly low. My only way to recover the I2C peripheral is to reset the CPU. Are there news about this behaviour??? Thanks in advance. Elena&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI issue ?</title><link>https://devzone.nordicsemi.com/thread/47476?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2016 10:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cddab074-1513-4dba-945b-6722e8a89d9b</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;I know i am in master but it&amp;#39;s very close.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI issue ?</title><link>https://devzone.nordicsemi.com/thread/47477?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2016 10:35:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cd00e9b-cd82-418a-8217-c6e60b49f438</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Symptoms are very similar to [30] TWIS &amp;quot;In TX (READ command), SCL and SDA are pulled low and further communication is blocked.&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI issue ?</title><link>https://devzone.nordicsemi.com/thread/47478?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2016 13:39:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:956bc7e5-352d-4028-8823-4d56534a72dd</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;What errata? Bitbanging seems like a bad solution, the hardware peripheral should work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI issue ?</title><link>https://devzone.nordicsemi.com/thread/47472?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2016 13:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8b592c1-81c9-4233-b066-3bcc24f625ee</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI issue ?</title><link>https://devzone.nordicsemi.com/thread/47475?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2016 13:10:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:475c5773-9843-485d-a19e-1a829cb5621b</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Migration to bitbanging fixed my issue.&lt;/p&gt;
&lt;p&gt;I guess that I was touched by the errata (nRF52 is in rev C)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI issue ?</title><link>https://devzone.nordicsemi.com/thread/47471?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2016 12:56:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:303ee972-4ee4-46ff-b029-c979e0305fa3</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Sounds strange. Have you captured the TWI lines to see if the STOP/SUSPENDED condition happens? Do the code work if you use handler? I assume you have not modified the driver or are touching any of the NRF_TWIM or NRF_TWI registers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>