<?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>840 twi driver problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107186/840-twi-driver-problem</link><description>Hi support team, 
 There is one problem from customer for VR&amp;amp;XR product: 
 customer is using 52840 twi to driver 4 cameras, everything is normal when the frequency is 100Khz and 250kHz, and the CLK pin is correct. 
 however, when setting to 400kHz, th</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jan 2024 07:51:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107186/840-twi-driver-problem" /><item><title>RE: 840 twi driver problem</title><link>https://devzone.nordicsemi.com/thread/463665?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2024 07:51:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db1a72b4-59f4-4aaf-8eca-5ca0f427fb94</guid><dc:creator>William.wei</dc:creator><description>&lt;p&gt;Thanks Kenneth，&lt;/p&gt;
&lt;p&gt;I have shared your information to customer and solved this problem.&lt;/p&gt;
&lt;p&gt;thanks again!&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;William.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 840 twi driver problem</title><link>https://devzone.nordicsemi.com/thread/463508?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 10:57:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7555edb-6bba-41ab-ba7b-f6e639886016</guid><dc:creator>Kenneth</dc:creator><description>[quote user="William.wei"]could you please send me your case, and i can see it for more information.[/quote]
&lt;p&gt;Not if it&amp;#39;s much useful to look at the other case, but here it is:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/support/319995"&gt;https://devzone.nordicsemi.com/support/319995&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
[quote user="William.wei"]&lt;p&gt;so may i ask if we have and workaround for 400khz twi clk in this case?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;If you can&amp;#39;t change the design: You can use 250kHz, or you need to reduce the pull-up resistors. At least for test I suggest to try a very small pull-up resistor (e.g. 1kohm) just to confirm that the frequency increase to 400kHz again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 840 twi driver problem</title><link>https://devzone.nordicsemi.com/thread/463450?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 04:54:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94c497fe-77d7-4625-9b3f-d5f3cb956fde</guid><dc:creator>William.wei</dc:creator><description>&lt;p&gt;Thanks Kenneth,&lt;/p&gt;
&lt;p&gt;could you please send me your case, and i can see it for more information.&lt;/p&gt;
&lt;p&gt;the good news is 250k still works, and the difficult point is customer hardware is ready for production.&lt;/p&gt;
&lt;p&gt;so may i ask if we have and workaround for 400khz twi clk in this case?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;William.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 840 twi driver problem</title><link>https://devzone.nordicsemi.com/thread/463110?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 11:04:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b08335de-0507-4231-b89b-59a93dcc5e01</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I saw a similar case the other day. I have some suggestion, and I also have a theory of the problem.&lt;/p&gt;
&lt;p&gt;The rise time you see directly depend on the capacitance on the lines and the pull-up resistor. If you have more devices connected on the i2c lines this will increase the capacitance on the lines, and thereby increase rise time. If you reduce the pull-up resistor this will reduce the rise time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I think happens here is that the rise time is so slow, that the hardware interpret it as clock stretching occurs by the slave(s), in this case the hardware may wait one clock cycle before it continue to clock next bit. I suspect this may half the the frequency in worst case, I guess the solution to this is either reduce pull-up resistor, or place some of the devices on different pins.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>