<?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>How to configure I2C frequency other than 100kHz 250kHz and 400Khz?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60503/how-to-configure-i2c-frequency-other-than-100khz-250khz-and-400khz</link><description>Hi All, 
 I am working on a project where i need to communicate using i2c protocol. For this i need to set i2c frequency 20 Khz. So how can i calculate register value to set 20 KHz frequency or what would be the register value for 20Khz frequency? 
 As</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jul 2020 15:07:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60503/how-to-configure-i2c-frequency-other-than-100khz-250khz-and-400khz" /><item><title>RE: How to configure I2C frequency other than 100kHz 250kHz and 400Khz?</title><link>https://devzone.nordicsemi.com/thread/261416?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2020 15:07:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3424fe0-74c4-4f74-aa82-5edc6c110732</guid><dc:creator>Prakash Rajiah</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Would it possible to know what is the calculation for custom frequencies in TWIM/SPIM ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure I2C frequency other than 100kHz 250kHz and 400Khz?</title><link>https://devzone.nordicsemi.com/thread/246098?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2020 15:23:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c941193-3186-47bf-9ed0-243a0ff21248</guid><dc:creator>pradeep8892</dc:creator><description>&lt;p&gt;Hi Evin,&lt;/p&gt;
&lt;p&gt;Thank you so much for quick response.&lt;/p&gt;
&lt;p&gt;Unfortunately i also do not have logic analyzer.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try the values suggested by you and get back to you,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; regards&lt;/p&gt;
&lt;p&gt;Pradeep&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure I2C frequency other than 100kHz 250kHz and 400Khz?</title><link>https://devzone.nordicsemi.com/thread/245982?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2020 09:22:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0901eac-84f4-4100-bddb-1e49f2a9ca4e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do you have a logic analyzer that you can use to measure the actual frequency?&lt;/p&gt;
&lt;p&gt;Can you try to set it to 0x00520000UL ?&lt;/p&gt;
&lt;p&gt;This is just calculations, rounded off. I don&amp;#39;t remember whether it is the last 3 or 4 &amp;#39;0&amp;#39;s that doesn&amp;#39;t affect the actual frequency, and I don&amp;#39;t have a logic analyzer at my home office to test. If you don&amp;#39;t have a logic analyzer, you but a device that requires approx 20kHz, then you can test with this value, and see if it works. If that doesn&amp;#39;t work, these values are also good candidates:&lt;/p&gt;
&lt;p&gt;0x00510000UL&lt;/p&gt;
&lt;p&gt;0x00500000UL&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>