<?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>TWIM not achieving 400 kbps</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76252/twim-not-achieving-400-kbps</link><description>I am using an nRF52832 to talk to a Melexis MLX90393 (which supports 400kpbs Fast Mode) via the TWIM interface. I am using the TWI Manager library to schedule transactions. 
 When I choose 400kbps for the TWIM frequency, the SCL line does not clock at</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Jun 2021 19:20:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76252/twim-not-achieving-400-kbps" /><item><title>RE: TWIM not achieving 400 kbps</title><link>https://devzone.nordicsemi.com/thread/315236?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 19:20:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d40197b9-43e5-4609-870c-22ccd18646ef</guid><dc:creator>adamsperry</dc:creator><description>&lt;p&gt;Thanks, this is great info.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWIM not achieving 400 kbps</title><link>https://devzone.nordicsemi.com/thread/315026?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 06:19:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4431d14a-15e9-4514-bb00-a9c6d41bc42e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;There was a article on this subject of varying i2c resistors, but it has apparently gone down.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;found a pdf&amp;#39;ed version of it here:&amp;nbsp;&lt;a href="https://www.thebackshed.com/forum/uploads/BobD/2013-01-26_175209_I2C_-_Effects_of_Varying_Pullup_Resistors.pdf"&gt;https://www.thebackshed.com/forum/uploads/BobD/2013-01-26_175209_I2C_-_Effects_of_Varying_Pullup_Resistors.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4.7k is generally a ok value for 400 kHz, you can usually go higher (5.6k) and lower (3.3k) without issues wrt. the wanted frequency.&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: TWIM not achieving 400 kbps</title><link>https://devzone.nordicsemi.com/thread/314978?ContentTypeID=1</link><pubDate>Fri, 11 Jun 2021 17:26:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5d48dd6-ad0a-4099-bcbc-2a67e3ff560a</guid><dc:creator>adamsperry</dc:creator><description>&lt;p&gt;That did the trick! Thank you!&lt;/p&gt;
&lt;p&gt;I have just one follow-up question. I plan to put the nRF52832 and two I2C sensors (one of which is the &lt;span&gt;MLX90393&amp;nbsp;mentioned above)&amp;nbsp;&lt;/span&gt;on a custom PCB. Since I now know I need to put external pull-up resistors on the PCB, is 4.7kOhm still a good choice, or would it be a good idea to account for the resistance already there from the internal pull-up resistors that are configured to be active by the driver?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWIM not achieving 400 kbps</title><link>https://devzone.nordicsemi.com/thread/314819?ContentTypeID=1</link><pubDate>Fri, 11 Jun 2021 06:38:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:620aa697-d4b6-4ff1-93e9-674964ef6f3c</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;Could you try with&amp;nbsp;external pull-up resistors? 400 kHz usually requires around 4.7kOhm pull-ups, as the internal pull-ups are too weak for this mode.&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>