<?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>I2C frequencies below 100kbps</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95455/i2c-frequencies-below-100kbps</link><description>Due to board design flaws that led to insufficient rise time for 100kbps communication, I would like to configure my i2c node in the device tree with a baud rate of 10 kbps. At build time I get the following build failure: 
 This is checked in `i2c_nrfx_twim</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Nov 2025 12:03:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95455/i2c-frequencies-below-100kbps" /><item><title>RE: I2C frequencies below 100kbps</title><link>https://devzone.nordicsemi.com/thread/554512?ContentTypeID=1</link><pubDate>Mon, 17 Nov 2025 12:03:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d04e861d-3cfb-472e-b08a-dae307d33ea0</guid><dc:creator>cellular_iot</dc:creator><description>&lt;p&gt;oh thanks, this is really working!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C frequencies below 100kbps</title><link>https://devzone.nordicsemi.com/thread/503569?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 11:57:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c1bc1ab-9051-4bf0-8da2-924a4ad9ca15</guid><dc:creator>AlanIoT</dc:creator><description>&lt;p&gt;I had read multiple forum posts looking for a solution to the same problem, before giving up. Later I stumbled onto &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/108034/i2c-stops-working-on-nrf9160-dk-board-version-1-1-0-when-sw9-is-switched-to-non-default-3v-position/469344"&gt;this post&lt;/a&gt;, which explains a very easy hack to set the bitrate lower than 100kbps (Thank you &lt;a href="https://devzone.nordicsemi.com/members/burt"&gt;Burt&lt;/a&gt; !)&lt;/p&gt;
&lt;p&gt;Under `toolchainVersion &amp;gt; modules &amp;gt; hal &amp;gt; nordic &amp;gt; nrfx &amp;gt; mdk &amp;gt; nrf9160_bitfields.h` you can find the line&lt;/p&gt;
&lt;div style="background-color:#272822;color:#f8f8f2;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#f92672;"&gt;#define&lt;/span&gt;&lt;span style="color:#f8f8f2;"&gt; &lt;/span&gt;&lt;span style="color:#a6e22e;"&gt;TWIM_FREQUENCY_FREQUENCY_K100&lt;/span&gt;&lt;span style="color:#f8f8f2;"&gt; (&lt;/span&gt;&lt;span style="color:#f92672;"&gt;0x&lt;/span&gt;&lt;span style="color:#ae81ff;"&gt;01980000&lt;/span&gt;&lt;span style="color:#f92672;"&gt;UL&lt;/span&gt;&lt;span style="color:#f8f8f2;"&gt;)&lt;/span&gt;&lt;span style="color:#88846f;"&gt; /*!&amp;lt; 100 kbps */&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Simply changing this value according &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/391/uart-baudrate-register-values/2046"&gt;this instruction&lt;/a&gt; was the solution to our problem. So I set the value to 10 kbps&lt;/p&gt;
&lt;div style="background-color:#272822;color:#f8f8f2;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#f92672;"&gt;#define&lt;/span&gt;&lt;span style="color:#f8f8f2;"&gt; &lt;/span&gt;&lt;span style="color:#a6e22e;"&gt;TWIM_FREQUENCY_FREQUENCY_K100&lt;/span&gt;&lt;span style="color:#f8f8f2;"&gt; (&lt;/span&gt;&lt;span style="color:#f92672;"&gt;0x&lt;/span&gt;&lt;span style="color:#ae81ff;"&gt;0028F000&lt;/span&gt;&lt;span style="color:#f92672;"&gt;UL&lt;/span&gt;&lt;span style="color:#f8f8f2;"&gt;)&lt;/span&gt;&lt;span style="color:#88846f;"&gt; /*!&amp;lt; 100 kbps */&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;and here you can see that the SCL ticks are 100 &lt;span class="BxUVEf ILfuVd" lang="de"&gt;&lt;span class="hgKElc"&gt;&amp;micro;s long and the sensor responds now.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="BxUVEf ILfuVd" lang="de"&gt;&lt;span class="hgKElc"&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/pastedimage1727178921565v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="BxUVEf ILfuVd" lang="de"&gt;&lt;span class="hgKElc"&gt;We are reading a sensor hanging on an 8 meter long cable, which is impossible without lowering the bitrate to a much lower value.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C frequencies below 100kbps</title><link>https://devzone.nordicsemi.com/thread/403686?ContentTypeID=1</link><pubDate>Sat, 07 Jan 2023 23:08:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0f2fa77-75e7-4554-8b09-e783c03b349c</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Nope - if your read the PS, those constants are the only values that the hardware supports. The 100kBps is the minimum.&lt;/p&gt;
&lt;p&gt;However,&amp;nbsp; the hardware supports clock stretching. That could help you in some cases depending how much control you have over the slave.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>