<?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 clock stretching for nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9243/twi-clock-stretching-for-nrf51822</link><description>Dear Nordic developers, 
 Does TWI supports bit level clock stretching? Means that after each bit (not byte) slave can hold down the clock and master should perform appropriate actions. 
 As I understand from the documentation, it supports only byte</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Sep 2015 10:21:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9243/twi-clock-stretching-for-nrf51822" /><item><title>RE: TWI clock stretching for nrf51822</title><link>https://devzone.nordicsemi.com/thread/34109?ContentTypeID=1</link><pubDate>Fri, 18 Sep 2015 10:21:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a827da8-091a-4255-a941-bf7867f4eede</guid><dc:creator>haruthakop</dc:creator><description>&lt;p&gt;Hi thanks for your help.&lt;/p&gt;
&lt;p&gt;Software controlled TWI Master driver supports bit and byte level clock stretching (It can be clearly seen from source code). I tested both (Software controlled and TWI hardware) implementations by delaying ACK bit, both were working.&lt;/p&gt;
&lt;p&gt;Thanks again for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI clock stretching for nrf51822</title><link>https://devzone.nordicsemi.com/thread/34108?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2015 10:51:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e84f4a7-90d0-48ee-98df-ee9aa185d9b5</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I guess you can test it using a device which only tolerates low clock speeds, e.g. 100 kHz. Then you can try to run the TWI on your nRF51 at 400 kHz and see how the slave behaves. I actually concluded it works based on an unrelated test I have done and a brief talk with the TWI designer (who hadn&amp;#39;t tested bitwise stretching specifically). What I did was actually testing what would happened if I used too large pullup resistors on the TWI lines. More specifically, what would happen if you only used the nRF51&amp;#39;s internal 12 kOhm pullup resistors. What happened was that the device was not able to drive the lines as fast as I wanted and reduced the clock speed from 400 to 200 kHz (basically stretching the clock signals) due to slow rise times on the TWI lines. Except from the reduced clock speed it worked fine, so I concluded that bitwise clock stretching works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI clock stretching for nrf51822</title><link>https://devzone.nordicsemi.com/thread/34107?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2015 14:13:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eee24024-3c9b-444d-b943-01c2fb190b84</guid><dc:creator>haruthakop</dc:creator><description>&lt;p&gt;Hi, Thanks a lot for your help. How did you test it? I also want to test it. Currently as a I2C slave I&amp;#39;m using an EEPROM. Do you have any idea how can I test bit level stretching with EEPROM?&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI clock stretching for nrf51822</title><link>https://devzone.nordicsemi.com/thread/34106?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2015 09:05:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cd50d8a-11da-4ff0-8083-1d5ef1facbf8</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi. I tested it and it seems to work. I agree that we should have better documentation on this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>