<?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 Configuration Issue in nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123788/i2c-configuration-issue-in-nrf5340-audio-dk</link><description>Hi Team, 
 
 I have configured I2C0 for reading data and sending iqs323 and iqs7211a. i have configured overlay file according pin conjuration which is below. 
 Pin configuration: 
 SCL - P0.26 
 SDA - P0.25 
 RDY(0x44) - P1.00 
 RDY(0x56) - P1.01 
 i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Sep 2025 13:51:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123788/i2c-configuration-issue-in-nrf5340-audio-dk" /><item><title>RE: I2C Configuration Issue in nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/thread/548617?ContentTypeID=1</link><pubDate>Fri, 12 Sep 2025 13:51:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1e7c13e-55fd-488f-b61f-19e63bf5acb4</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Dhruvish Patel,&lt;/p&gt;
&lt;p&gt;Could you please verify that you have added a label like for example &amp;quot;I2C_2&amp;quot; to your overlay? Please also verify that you have updated the main file with this label as well.&amp;nbsp;&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/pastedimage1757684498698v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Please try adding the I2C_2 label as shown below.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c2 {
	status = &amp;quot;okay&amp;quot;;
	label = &amp;quot;I2C_2&amp;quot;;

	/* Azoteq IQS323: touch/wear detection */
	iqs323: iqs323@44 {
		compatible = &amp;quot;azoteq,iqs323&amp;quot;;
		reg = &amp;lt;0x44&amp;gt;;
		enable-gpios = &amp;lt;&amp;amp;gpio0 12 GPIO_ACTIVE_LOW&amp;gt;; /* P0.12 - RDY pin */
		status = &amp;quot;okay&amp;quot;;
	};

	/* Azoteq IQS7211E: touch/slider */
	iqs7211e: iqs7211e@56 {
		compatible = &amp;quot;azoteq,iqs7211e&amp;quot;;
		reg = &amp;lt;0x56&amp;gt;;
		enable-gpios = &amp;lt;&amp;amp;gpio0 13 GPIO_ACTIVE_LOW&amp;gt;; /* P0.13 - RDY pin */
		status = &amp;quot;okay&amp;quot;;
	};
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Configuration Issue in nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/thread/548069?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 13:27:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a5e344e-8f5b-4002-a0dc-d401ac969b98</guid><dc:creator>Dhruvish Patel</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c2 {
	status = &amp;quot;okay&amp;quot;;

	/* Azoteq IQS323: touch/wear detection */
	iqs323: iqs323@44 {
		compatible = &amp;quot;azoteq,iqs323&amp;quot;;
		reg = &amp;lt;0x44&amp;gt;;
		enable-gpios = &amp;lt;&amp;amp;gpio0 12 GPIO_ACTIVE_LOW&amp;gt;; /* P0.12 - RDY pin */
		status = &amp;quot;okay&amp;quot;;
	};

	/* Azoteq IQS7211E: touch/slider */
	iqs7211e: iqs7211e@56 {
		compatible = &amp;quot;azoteq,iqs7211e&amp;quot;;
		reg = &amp;lt;0x56&amp;gt;;
		enable-gpios = &amp;lt;&amp;amp;gpio0 13 GPIO_ACTIVE_LOW&amp;gt;; /* P0.13 - RDY pin */
		status = &amp;quot;okay&amp;quot;;
	};
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Configuration Issue in nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/thread/546787?ContentTypeID=1</link><pubDate>Tue, 26 Aug 2025 13:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2f4c891-66f0-44ea-a769-5700d0643fd3</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Would you be able to share the output logs from when the binding error occurs (use Insert-&amp;gt;Code in DevZone)? Could you please also share the overlay? Is nrf5340_audio the application you are using? Which nRF Connect SDK is it?&lt;/p&gt;
&lt;p&gt;Have you enabled the config for TWIM number two?&lt;/p&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRFX_TWIM&lt;span style="background-color:rgba(51, 204, 204, 1);"&gt;2&lt;/span&gt;&lt;/span&gt;&lt;span&gt;=y &lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Configuration Issue in nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/thread/546726?ContentTypeID=1</link><pubDate>Tue, 26 Aug 2025 08:35:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:484ed842-786c-4687-8b8f-8fbbb72ea131</guid><dc:creator>Dhruvish Patel</dc:creator><description>&lt;p&gt;hi &lt;a href="https://devzone.nordicsemi.com/members/hahe"&gt;helsing&lt;/a&gt;&amp;nbsp;,&lt;br /&gt;&lt;br /&gt;I have done same device tree configuration in nrf5340 audio firmware.so it is always throwing binding error.&amp;nbsp;&lt;br /&gt;same this i am doing for i2c1 it is working fine.&lt;br /&gt;&lt;br /&gt;FYI, i am using nrf5340 audio FW and using Nordic 5340 audio dK kit.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Kindly help on this issue.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Dhruvish Patel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Configuration Issue in nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/thread/546638?ContentTypeID=1</link><pubDate>Mon, 25 Aug 2025 13:05:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3882c4a9-0331-4f91-9553-f6db672ec53c</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;When selecting an instance for i2c, make sure that instance has not been used before. For example, do not select &lt;code&gt;i2c3&lt;/code&gt; if &lt;code&gt;uart3&lt;/code&gt; is already in use in your project. Try selecting &lt;code&gt;i2c2&lt;/code&gt;&amp;nbsp;for the nRF5340 Audio DK.&lt;br /&gt;&lt;br /&gt;Try something like this in the overlay:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c2 {
    status = &amp;quot;okay&amp;quot;;
    pinctrl-0 = &amp;lt;&amp;amp;i2c2_default&amp;gt;;
    pinctrl-names = &amp;quot;default&amp;quot;;
    clock-frequency = &amp;lt;I2C_BITRATE_STANDARD&amp;gt;;

    iqs323: iqs323@44 {
        compatible = &amp;quot;i2c-device&amp;quot;;
        reg = &amp;lt;0x44&amp;gt;;
        label = &amp;quot;IQS323&amp;quot;;
    };

    iqs7211a: iqs7211a@56 {
        compatible = &amp;quot;i2c-device&amp;quot;;
        reg = &amp;lt;0x56&amp;gt;;
        label = &amp;quot;IQS7211A&amp;quot;;
    };
};

&amp;amp;pinctrl {
    i2c2_default: i2c2_default {
        group1 {
            psels = &amp;lt;NRF_PSEL(TWIM_SCL, 0, 26)&amp;gt;,
                    &amp;lt;NRF_PSEL(TWIM_SDA, 0, 25)&amp;gt;;
        };
        
    };
};&lt;/pre&gt;&lt;/p&gt;
&lt;div dir="ltr"&gt;Add pinctrl for sleep as well, as seen in &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-6-serial-com-i2c/topic/exercise-1-6-2/"&gt;this exercise&lt;/a&gt;.&lt;/div&gt;
&lt;div dir="ltr"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Configuration Issue in nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/thread/546124?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2025 06:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7b44ce3-b64f-4a70-908a-2aadc7c6c520</guid><dc:creator>Dhruvish Patel</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have already gone through this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am modifying existing nrf5340 audio code because i want functionality in that code only.&lt;/p&gt;
&lt;p&gt;i want to configure Azoteq IQS323 wear detection(0x44) and Azoteq IQS7211a(0x56) both single I2C.&lt;br /&gt;&lt;br /&gt;But everytime whenever i try to configure I2C binding is not happening,&lt;br /&gt;&lt;br /&gt;I2C0 and I2C1 cannot be utilized because it is already configured in nrf5340 audio firmware.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kindly guide through in I2C configuration in existing firmware of nrf5340 audio.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; regards,&lt;/p&gt;
&lt;p&gt;Dhruvish Patel&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Configuration Issue in nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/thread/546036?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2025 11:52:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a83208a9-b669-4d3d-9b78-bd3722a41259</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Dhruvish,&lt;/p&gt;
&lt;p&gt;Thank you for the request.&amp;nbsp;I will take a closer look and get back to you. Meanwhile, have you had a look at the Lesson on&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-6-serial-com-i2c/topic/i2c-driver/"&gt;I2C Driver&lt;/a&gt;&amp;nbsp;over at DevAcademy?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>