<?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>Configure i2c</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125084/configure-i2c</link><description>I have a quick question about configure i2c. 
 
 I have the following schematic: 
 
 
 And the following configuration for the nrf54l15 : 
 And the following in prj.conf: 
 
 CONFIG_I2C =y 
 CONFIG_SENSOR =y 
 CONFIG_DHT20 =y Question: 
 Is this the correct</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Oct 2025 08:33:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125084/configure-i2c" /><item><title>RE: Configure i2c</title><link>https://devzone.nordicsemi.com/thread/552031?ContentTypeID=1</link><pubDate>Tue, 21 Oct 2025 08:33:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:314b19de-cbad-4244-8dd1-a2be02c87256</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Yes, that should be OK. As this is GPIO port P0, you need to use TWIM30 in that case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure i2c</title><link>https://devzone.nordicsemi.com/thread/551938?ContentTypeID=1</link><pubDate>Mon, 20 Oct 2025 12:21:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dce0e279-009f-459d-998f-19f7123ebee6</guid><dc:creator>Boggibill</dc:creator><description>&lt;p&gt;Ok.&lt;/p&gt;
&lt;p&gt;I see, thanks for the quick response.&lt;/p&gt;
&lt;p&gt;So if I use P0.02 (SDA) and P0.03 (SCL), I should see better results?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure i2c</title><link>https://devzone.nordicsemi.com/thread/551932?ContentTypeID=1</link><pubDate>Mon, 20 Oct 2025 12:07:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c886b851-a6c3-415a-8eb3-22520a1eaf15</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Pål,&lt;/p&gt;
&lt;p&gt;There are no TWI instances for GPIP port P2, so you need to pick different GPIO pins. See &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/twim.html#d1697e783"&gt;Configuration&lt;/a&gt;. Note that you also need to make sure that SCL is on a &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/chapters/pin.html#ariaid-title3"&gt;clock pin&lt;/a&gt;&amp;nbsp;(that is the case with P2.01, but aas mentionned P2 cannot be used).&lt;/p&gt;
&lt;p&gt;PS: As menionned under &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/chapters/pin.html#d380e188"&gt;Cross power-domain use&lt;/a&gt;&amp;nbsp;you can use P2 for TWI when using constant latency mode, but this is not suitable for a low power product.&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>