<?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 I2C interface without clock stretch</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115842/twi-i2c-interface-without-clock-stretch</link><description>Hi, 
 As well know, nRF52832 TWI interface can support clock stretch function. 
 Can I disable &amp;quot;clock stretch function&amp;quot; function? 
 How to do this job? 
 Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Oct 2024 09:21:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115842/twi-i2c-interface-without-clock-stretch" /><item><title>RE: TWI I2C interface without clock stretch</title><link>https://devzone.nordicsemi.com/thread/508104?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 09:21:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a48b7ab-d953-4f4f-a45c-fc1bbe2cf85f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for explaining your scenario in detail.&lt;/p&gt;
&lt;p&gt;Unfortunately, it is not possible to turn off clock stretching feature in hardware.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;H&amp;aring;kon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI I2C interface without clock stretch</title><link>https://devzone.nordicsemi.com/thread/508103?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 09:19:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:641f10b4-1e07-45f2-933a-998b7fb1de77</guid><dc:creator>chianglin</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Under normal circumstances, since the twi of nRF52832 belongs to the I2C master, when the I2C slave pulls SCL Low, the twi of nrf52832 will generate Clock stretch.&lt;br /&gt;What I want to do is: twi does not detect whether SCL is pulled Low by the I2C-Slave device, but continues to send data&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI I2C interface without clock stretch</title><link>https://devzone.nordicsemi.com/thread/508097?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 08:54:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ce2fd35-baf1-4f34-8b23-c223a9de4b23</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Clock stretching happens when the&amp;nbsp;slave pulls the SCL line low. As long as your external device does not do this, then it is OK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI I2C interface without clock stretch</title><link>https://devzone.nordicsemi.com/thread/508084?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 08:24:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a8e61ff-980c-428c-9236-124b109e78fb</guid><dc:creator>chianglin</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your explanation.&lt;/p&gt;
&lt;p&gt;What I want to do has nothing to do with the type of Slave.&lt;br /&gt;The test I want to do is: I want the waveform sent by the TWI interface not to have the stretch function to verify whether the slave device can accept non-stretch TWI signals.&lt;br /&gt;Therefore, I want to turn off the stretch function of the nRF52832 TWI interface.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI I2C interface without clock stretch</title><link>https://devzone.nordicsemi.com/thread/508081?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 08:09:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e82831bd-faf3-4bba-8595-dd4275e1b8d0</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Clock stretching is a feature that the TWIM supports, and it is up to the connected TWI slave device to perform this operation. Please note that not all slaves perform clock stretching. I would recommend checking the specification of your connected sensor for its timing details if you are seeing excessive clock stretching.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you explain the issues you&amp;#39;re seeing with clock stretching?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>