<?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 Master/Slave frequency and delay</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117444/twi-master-slave-frequency-and-delay</link><description>Hi. I tried using the TWI master and slave drivers on 2 different nRF52840DK boards. The 100KHz frequency is perhaps a little high and I will see how to lower it by acting on the FREQUENCY reg to have more squared signals. 
 
 However, I was unable to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Dec 2024 16:07:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117444/twi-master-slave-frequency-and-delay" /><item><title>RE: TWI Master/Slave frequency and delay</title><link>https://devzone.nordicsemi.com/thread/515979?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2024 16:07:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cf65b1b-7e4e-4e3a-9511-0c91638972e1</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;It looks like the TWIS is performing clock stretching. Can you share details on how you have implemented this in software?&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s how the hardware peripheral is described:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/twis.html#ariaid-title3"&gt;https://docs.nordicsemi.com/bundle/ps_nrf52840/page/twis.html#ariaid-title3&lt;/a&gt;&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><item><title>RE: TWI Master/Slave frequency and delay</title><link>https://devzone.nordicsemi.com/thread/515955?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2024 14:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd074099-1ad3-4ce8-a707-f7b18586f26b</guid><dc:creator>remtec</dc:creator><description>&lt;p&gt;Ok. I created a customized I2C Master driver to verify the TWIS response: during writing, the ACK is recognized, and it listens to the first byte, but then blocks SCL for 2-3 msec and does not allow continuing.&lt;br /&gt;Has anyone encountered this behavior before?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/IMG_5F00_20241220_5F00_153151500.jpg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI Master/Slave frequency and delay</title><link>https://devzone.nordicsemi.com/thread/515805?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2024 15:55:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0eaf4c9-da03-4aed-abfa-486710bf7bcb</guid><dc:creator>remtec</dc:creator><description>&lt;p&gt;&lt;span&gt;HI. The sample I used sets interrupt for the twis, but does not use interrupt for the twim: could this be what causes that delay in handling the read?&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Probably due to rtos! Is this correct?&lt;/span&gt;&lt;br /&gt;&lt;span&gt;I&amp;#39;m using nrf connect sdk 2.3.0.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>