<?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>Issues with nrf52dk I2C with BMA400</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126328/issues-with-nrf52dk-i2c-with-bma400</link><description>Hello Nordic Forum, 
 Thank you in advance for your help. I have a BMA400 accelerometer break out board which I am able to connect and get to work with arduino. 
 I am now trying to connect to nrf52DK . SDA is connected to P0.26 and SCL is connected to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Jan 2026 08:13:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126328/issues-with-nrf52dk-i2c-with-bma400" /><item><title>RE: Issues with nrf52dk I2C with BMA400</title><link>https://devzone.nordicsemi.com/thread/557886?ContentTypeID=1</link><pubDate>Mon, 05 Jan 2026 08:13:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af128a9f-da56-48e0-9b6a-eceb5b93c2bf</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Glad to hear it worked and thanks a lot for your feedback.&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with nrf52dk I2C with BMA400</title><link>https://devzone.nordicsemi.com/thread/557846?ContentTypeID=1</link><pubDate>Sat, 03 Jan 2026 03:55:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d5bc6a6-80d4-45eb-a859-ebad36a0cbff</guid><dc:creator>federicoc</dc:creator><description>&lt;p&gt;Actually it works and the solution was indeed to put the compatibility line as you guys recommended. &lt;br /&gt;&lt;br /&gt;Initially I rewrote some code using&amp;nbsp;&lt;span style="color:#000000;"&gt;i2c_reg_read_byte, but this takes a device as first argument and not a dev_spec. This was why I was not able to move to the next line of code.&lt;br /&gt;&lt;br /&gt;Thank you all and Happy 2026!&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with nrf52dk I2C with BMA400</title><link>https://devzone.nordicsemi.com/thread/557837?ContentTypeID=1</link><pubDate>Fri, 02 Jan 2026 15:45:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b67fa4f6-fd57-4c62-a695-7f59fd4476fe</guid><dc:creator>federicoc</dc:creator><description>&lt;p&gt;Thank you Dani and Syed for your reply.&lt;/p&gt;
&lt;p&gt;I added the lines as you recommended, but still it silently fails when calling&lt;span style="color:#000000;"&gt;&amp;nbsp;i2c_reg_read_byte&lt;/span&gt;&lt;span style="color:rgba(204, 204, 204, 1);"&gt;&lt;/span&gt;&amp;nbsp;as before.&lt;br /&gt;&lt;br /&gt;I was trying to start from one of the I2C examples from the dev academy but today I will try from the blinky example as recommended in your post.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&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/pastedimage1767368334284v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&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/pastedimage1767368415227v3.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with nrf52dk I2C with BMA400</title><link>https://devzone.nordicsemi.com/thread/557814?ContentTypeID=1</link><pubDate>Fri, 02 Jan 2026 13:04:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42928793-9dd7-44a7-b063-79827a4944d5</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Yes,&amp;nbsp;please add a compatible = &amp;quot;nordic,nrf-twim&amp;quot; under&amp;nbsp;&amp;amp;i2c0, as TWIM is the recommended I2C master and confirm if it works.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with nrf52dk I2C with BMA400</title><link>https://devzone.nordicsemi.com/thread/557769?ContentTypeID=1</link><pubDate>Wed, 31 Dec 2025 08:37:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21c1b864-3ca1-406d-bddd-5e07fc13750b</guid><dc:creator>IoT-Dani</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;federicoc&lt;/p&gt;
&lt;p&gt;Try to put a compatible = &amp;quot;nordic,nrf-twim&amp;quot;.&lt;/p&gt;
&lt;div&gt;&lt;span style="font-size:75%;"&gt;&lt;span style="color:#777777;"&gt;&amp;amp;&lt;/span&gt;&lt;span style="color:#7a3e9d;font-weight:bold;"&gt;i2c0&lt;/span&gt;&lt;span style="color:#333333;"&gt; {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="background-color:#ffff00;font-size:75%;"&gt;&lt;span style="color:#333333;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="color:#7a3e9d;"&gt;compatible&lt;/span&gt;&lt;span style="color:#333333;"&gt; &lt;/span&gt;&lt;span style="color:#777777;"&gt;=&lt;/span&gt;&lt;span style="color:#333333;"&gt; &lt;/span&gt;&lt;span style="color:#9c5d27;"&gt;&amp;quot;nordic,nrf-twim&amp;quot;&lt;/span&gt;&lt;span style="color:#333333;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:75%;"&gt;&lt;span style="color:#333333;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="color:#7a3e9d;"&gt;status&lt;/span&gt;&lt;span style="color:#333333;"&gt; &lt;/span&gt;&lt;span style="color:#777777;"&gt;=&lt;/span&gt;&lt;span style="color:#333333;"&gt; &lt;/span&gt;&lt;span style="color:#9c5d27;"&gt;&amp;quot;okay&amp;quot;&lt;/span&gt;&lt;span style="color:#333333;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:75%;"&gt;&lt;span style="color:#333333;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="color:#7a3e9d;"&gt;pinctrl-0&lt;/span&gt;&lt;span style="color:#333333;"&gt; &lt;/span&gt;&lt;span style="color:#777777;"&gt;=&lt;/span&gt;&lt;span style="color:#333333;"&gt; &amp;lt;&lt;/span&gt;&lt;span style="color:#777777;"&gt;&amp;amp;&lt;/span&gt;&lt;span style="color:#7a3e9d;font-weight:bold;"&gt;i2c0_default&lt;/span&gt;&lt;span style="color:#333333;"&gt;&amp;gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:75%;"&gt;&lt;span style="color:#333333;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="color:#7a3e9d;"&gt;pinctrl-1&lt;/span&gt;&lt;span style="color:#333333;"&gt; &lt;/span&gt;&lt;span style="color:#777777;"&gt;=&lt;/span&gt;&lt;span style="color:#333333;"&gt; &amp;lt;&lt;/span&gt;&lt;span style="color:#777777;"&gt;&amp;amp;&lt;/span&gt;&lt;span style="color:#7a3e9d;font-weight:bold;"&gt;i2c0_sleep&lt;/span&gt;&lt;span style="color:#333333;"&gt;&amp;gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:75%;"&gt;&lt;span style="color:#333333;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="color:#7a3e9d;"&gt;pinctrl-names&lt;/span&gt;&lt;span style="color:#333333;"&gt; &lt;/span&gt;&lt;span style="color:#777777;"&gt;=&lt;/span&gt;&lt;span style="color:#333333;"&gt; &lt;/span&gt;&lt;span style="color:#448c27;"&gt;&amp;quot;default&amp;quot;&lt;/span&gt;&lt;span style="color:#333333;"&gt;, &lt;/span&gt;&lt;span style="color:#448c27;"&gt;&amp;quot;sleep&amp;quot;&lt;/span&gt;&lt;span style="color:#333333;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;under &amp;amp;i2c0 {&lt;/p&gt;
&lt;p&gt;That might solve your problem.&lt;/p&gt;
&lt;p&gt;Quote from Syed Maysum Abbas Zaidi: It worked as on nRF52, TWIM is the recommended I&amp;sup2;C master (supports EasyDMA, etc), and Nordic&amp;rsquo;s own TWIM example explicitly sets it &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/peripherals/posts/twi-ic2-implementation-with-nrfx-twis-driver#mcetoc_1fc9idhsd2"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Kind regards, Dani&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>