<?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 Pin Configuration issue with ncs and zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113286/i2c-pin-configuration-issue-with-ncs-and-zephyr</link><description>Hello support team, i have an issue regarding the i2c configuration on an nrf52832. 
 The Setup is: 
 
 EvalBoard nrf52dk_52832 
 BME280 Sensor attached via I2C 
 NCS 2.6.1 
 Using a modified i2c devicetree
 
 changed pinctrl of i2c0 node 
 
 
 For the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Aug 2024 16:58:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113286/i2c-pin-configuration-issue-with-ncs-and-zephyr" /><item><title>RE: I2C Pin Configuration issue with ncs and zephyr</title><link>https://devzone.nordicsemi.com/thread/497516?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 16:58:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e16354f-67da-4335-ac98-f6bd1c8a1a5a</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;I can i2c0 is enabled in zephyr.dts file. Could you please send the application file so I can check and run from my side?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Pin Configuration issue with ncs and zephyr</title><link>https://devzone.nordicsemi.com/thread/496332?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2024 06:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fbab5eb-9d71-4202-9f4d-e8802f91d59d</guid><dc:creator>Festool Roman</dc:creator><description>&lt;p&gt;Where can i check that? In the device tree it is enabled. Can you setup a test to check which configuration does work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Pin Configuration issue with ncs and zephyr</title><link>https://devzone.nordicsemi.com/thread/496119?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 06:36:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36d1e8c3-930b-44d3-be62-efe9576aa205</guid><dc:creator>Festool Roman</dc:creator><description>&lt;p&gt;I do not know it but i sent you already the generated devicetree `zephyr.dts` and the overlay file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Pin Configuration issue with ncs and zephyr</title><link>https://devzone.nordicsemi.com/thread/496044?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2024 14:35:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afd68441-c789-4438-8c92-8a032d7094c6</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Is the TWI disabled in your application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Pin Configuration issue with ncs and zephyr</title><link>https://devzone.nordicsemi.com/thread/495541?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 07:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f116b5fb-c7a4-45a5-bcf5-ebc3c28199fa</guid><dc:creator>Festool Roman</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/{
    arduino_header: connector {
        status = &amp;quot;disabled&amp;quot;;
    };
	arduino_adc: analog-connector {
        status = &amp;quot;disabled&amp;quot;;
    };
};

&amp;amp;i2c0 {
	status = &amp;quot;okay&amp;quot;;
	bme280: bme280@76 {
        status = &amp;quot;okay&amp;quot;;
		compatible = &amp;quot;bosch,bme280&amp;quot;;
		reg = &amp;lt;0x76&amp;gt;;
        label = &amp;quot;bme280&amp;quot;;
	};
};

&amp;amp;pinctrl {
    i2c0_default: i2c0_default {
        group1 {
            psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 4)&amp;gt;,
                    &amp;lt;NRF_PSEL(TWIM_SCL, 0, 5)&amp;gt;;
        };
    };
};&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here is the overlay i used&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Pin Configuration issue with ncs and zephyr</title><link>https://devzone.nordicsemi.com/thread/495493?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 17:05:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f797eec5-bcb3-415f-bc92-05ec2c34f9cf</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;In default Pin control of nrf53832,&amp;nbsp;&lt;span&gt;P0.27/P0.28 is used for SCk and MISO pin for SPI0. Pin 0.5 is used for RTS of UARTR0. Have you checked if these pins are already used in your application according to board file? Then you need to create overlay file to use these pins for I2C. You can share your overlay file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;kazi&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>