<?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>I2C getting struck and SDA stays low</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63594/i2c-getting-struck-and-sda-stays-low</link><description>We are using I2C bus for communication with a RTC and Accelerometer. But sometimes the I2C get struck in i2c_write. It does not happens always it may happen randomly. We are able to generate it in two ways: 
 1. Let the device run for some time and suddenly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 12 Jul 2020 15:39:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63594/i2c-getting-struck-and-sda-stays-low" /><item><title>RE: I2C getting struck and SDA stays low</title><link>https://devzone.nordicsemi.com/thread/259584?ContentTypeID=1</link><pubDate>Sun, 12 Jul 2020 15:39:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fc5c1bf-ad18-4dc9-8a19-39e8200e876c</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Have you tried to debug your sample and check, more specifically than &lt;em&gt;i2c_write()&lt;/em&gt;,&amp;nbsp;what&amp;nbsp;causes the I2C to stop working? Where in&amp;nbsp;&lt;em&gt;ncs\v1.3.0\zephyr\drivers\i2c\i2c_nrfx_twim.c--&amp;gt;i2c_nrfx_twim_transfer()&amp;nbsp;&lt;/em&gt;and&amp;nbsp;&lt;em&gt;ncs\v1.3.0\modules\hal\nordic\nrfx\drivers\src\nrfx_twim.c--&amp;gt;nrfx_twim_xfer()&lt;/em&gt; does it stop?&lt;/p&gt;
&lt;p&gt;Use the&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-temporary#h131sk0f71xdy1hliuda1vq9p8n11weqgr"&gt;debugging section in the NCS tutorial&lt;/a&gt;&amp;nbsp;or logging to figure out the cause.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>