<?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>About TWI Frequency</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38957/about-twi-frequency</link><description>Hello! 
 My project programmed on the nRF52dk board. 
 Using the twi protocol for communication with other driver IC. 
 
 Below code is twi_init source. 
 --------------------------------------------------------------------------------- 
 const nrf_drv_twi_config_t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Sep 2018 07:21:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38957/about-twi-frequency" /><item><title>RE: About TWI Frequency</title><link>https://devzone.nordicsemi.com/thread/150805?ContentTypeID=1</link><pubDate>Fri, 28 Sep 2018 07:21:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d61f387-0d16-4834-b15d-07aafafaadf6</guid><dc:creator>emyang333</dc:creator><description>&lt;p&gt;I am working with Yoseph Kim.&lt;/p&gt;
&lt;p&gt;This issue is due to external pull up register not to be connected by I/O expander.&lt;/p&gt;
&lt;p&gt;After enabling I/O expander, issues were fixed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About TWI Frequency</title><link>https://devzone.nordicsemi.com/thread/150782?ContentTypeID=1</link><pubDate>Fri, 28 Sep 2018 00:23:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a65381e-7b11-4815-bd54-a55848b987de</guid><dc:creator>Yoseph Kim</dc:creator><description>&lt;p&gt;Hello Jorgen Holmefjord!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please reference to below.&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;Ofcourse.&amp;nbsp;This device is support 400kHz. I checked the 400kHz support via device company.&lt;/p&gt;
&lt;p&gt;2. If i changed TWI_FREQUENCY_FREQUENCY_K400 value from 0x06680000UL to 0x0CCA8940UL,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;the frequency wave is succesfully 400kHz. But twi_read function is working on 0x06680000UL, not work on&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;0x0CCA8940UL.&lt;/p&gt;
&lt;p&gt;3) driverIC(in below picture) mean peripheral device.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="328" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1538102568861v2.png" width="607" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About TWI Frequency</title><link>https://devzone.nordicsemi.com/thread/150713?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 12:54:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d44f1339-1be5-4527-9419-d5c24c1ba325</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Which device are you interfacing? Does it support 400kHz rate?&lt;/p&gt;
&lt;p&gt;Can you provide logic trace of the TWI bus for the device you are having issues with?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About TWI Frequency</title><link>https://devzone.nordicsemi.com/thread/150606?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 07:33:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9db6639-23d2-4cc7-b53e-2e6c4c123472</guid><dc:creator>Yoseph Kim</dc:creator><description>&lt;p&gt;Add comment...&lt;/p&gt;
&lt;p&gt;Try additional test...&lt;/p&gt;
&lt;p&gt;I am setting the&amp;nbsp;TWI_FREQUENCY_FREQUENCY_K400 variable from&amp;nbsp;0x06680000UL to&amp;nbsp;0x0CCA8940UL.&lt;/p&gt;
&lt;p&gt;In this case the working is well but, this value is corresponding to about 800kbps.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand this situation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About TWI Frequency</title><link>https://devzone.nordicsemi.com/thread/150572?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 00:59:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd943b81-3f6c-4fd6-9fad-c09c61ecfda0</guid><dc:creator>Yoseph Kim</dc:creator><description>&lt;p&gt;Add comment...&lt;/p&gt;
&lt;p&gt;In my case, &amp;quot;other board(ex. driver IC or other sensor)&amp;quot; is enough for 400kHz frequency.&lt;/p&gt;
&lt;p&gt;And changed resister from 4.7K&lt;span&gt;Ω to 2.2KΩ for testing this issue.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>