<?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>Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114104/accessing-two-channels-of-i2s</link><description>Hi,I am using NRF5340 AUDIO DK BOARD and I have been trying to access i2s mic and I want to transfer the mic data to Amplifier .Is it possible to do with single I2s ? As I observe nrf5340 has two channels.If it possible how to configure pins for mic and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Oct 2024 12:32:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114104/accessing-two-channels-of-i2s" /><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/505000?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2024 12:32:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d02cdab8-913b-42b6-b450-be9460b2154f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I think you can connect SDIN and SDOUT as well, so that the signal will go directly from the microphone to the amplifier. Then you don&amp;#39;t need to worry about outputing this signal to the amplifier, and you can concentrate on sending it via Bluetooth LE.&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/504719?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2024 14:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3df811bb-f5e8-474f-8281-7d1a8c42392f</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;No,I am not getting audio to speaker.Acutually first I need to make sure wheather this mic and amplifier configure or not otherwise I need to change with controller,if this works I will go through audio.I think this part of configuration is mandatory wheather I use audio sample or not.I don&amp;#39;t know where its going wrong.Confirm me I can use configuration like below or not.I am using soeaker TAS2563 and MIC SPH0645 Of SCK 1.024MHz and LRCK 16 kHz .I am providing common clock for both.is it correct?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt="Oscilloscope of pins of mic LRCK,SCK,DATA" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Tek000.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5383.image.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/504596?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 22:05:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b76aa614-cf17-4738-b5f5-b27ffb2ea6be</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Did you get the time to look into the audio sample? Does that work with your speaker?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/504515?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 11:48:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2593410-96c0-4ad2-8d58-cf031a0bebb1</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;Will I get update on it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/502542?ContentTypeID=1</link><pubDate>Sun, 15 Sep 2024 14:02:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7af965f2-6eb0-4cb0-bab9-e144256ba865</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;Ok thanks Edvin .I will go through the auddio sample.&lt;/p&gt;
&lt;p&gt;Yes,I able to do that but I am not getting live audio .I am getting only noise&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/502501?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2024 13:43:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fabf1c8b-5c58-4788-b38e-992e8317d066</guid><dc:creator>Edvin</dc:creator><description>[quote user="Kashyap23"]and I thought if I get raw data I can notify the data by creating service and characterstic via ble using Zephyr.Is this approach works?[/quote]
&lt;p&gt;Audio over BLE is quite different from &amp;quot;normal&amp;quot; BLE, so I would say that this is probably not going to work. The Audio channels in BLE are isochronous, while normal BLE is not. So please study the nrf5340_audio sample in order to get the BLE part of the audio up and running.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What I2S echo application are you using?&amp;nbsp;&lt;/p&gt;
[quote user="Kashyap23"] done changes to code as per my mic and added register address and able to read values from amplifier but I couldnt listen any audio from speaker amplifier ,I can listen only noise may be due to current leckage[/quote]
&lt;p&gt;I don&amp;#39;t understand. Did you manage to get sound from the microphone? And you forward it to the amplifier, but it sounds like noise only?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/502416?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2024 04:52:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14b19859-1f95-4342-a0d3-4c120344a3a8</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;Thanks Edvin,will check with that sample .Actually I am working with I2S echo saple where it have Rx and Tx using for getting audio and amplification respectively and I thought if I get raw data I can notify the data by creating service and characterstic via ble using Zephyr.Is this approach works?Will there be same working in your mentioned audio sample &amp;quot;&lt;span&gt;broadcast source&lt;/span&gt;&amp;quot; ?&lt;/p&gt;
&lt;p&gt;And to mention when I am using Echo sample ,I done changes to code as per my mic and added register address and able to read values from amplifier but I couldnt listen any audio from speaker amplifier ,I can listen only noise may be due to current leckage .I can see the clocks coming correctly from SDOUT i,e to amplifier.So can you help me in his regard.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; &amp;amp;pinctrl {
	i2c0_default_alt: i2c0_default_alt {
		group1 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 1, 2)&amp;gt;,
			&amp;lt;NRF_PSEL(TWIM_SCL, 1, 3)&amp;gt;;
		};
	};

	i2c0_sleep_alt: i2c0_sleep_alt {
		group1 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 1, 2)&amp;gt;,
			&amp;lt;NRF_PSEL(TWIM_SCL, 1, 3)&amp;gt;;
			low-power-enable;
		};
	};

	i2s0_default_alt: i2s0_default_alt {
		group1 {
			psels =&amp;lt;NRF_PSEL(I2S_SCK_M, 0, 26)&amp;gt;,
			&amp;lt;NRF_PSEL(I2S_LRCK_M, 0, 25)&amp;gt;,
			&amp;lt;NRF_PSEL(I2S_SDOUT, 0, 6)&amp;gt;,
			&amp;lt;NRF_PSEL(I2S_SDIN, 0, 7)&amp;gt;;
		};
	};
	i2s0_sleep_alt: i2s0_sleep_alt {
		group1 {
			psels =  &amp;lt;NRF_PSEL(I2S_SCK_M, 0, 26)&amp;gt;,
			&amp;lt;NRF_PSEL(I2S_LRCK_M, 0, 25)&amp;gt;,
			&amp;lt;NRF_PSEL(I2S_SDOUT, 0, 6)&amp;gt;,
			&amp;lt;NRF_PSEL(I2S_SDIN, 0, 7)&amp;gt;;
		};
	};
};

&amp;amp;i2c1 {
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;i2c0_default_alt&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;i2c0_sleep_alt&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;

tas2563:tas2563@4C{
		compatible = &amp;quot;i2c-device&amp;quot;;
		reg = &amp;lt;0x4C&amp;gt;;
		label = &amp;quot;TAS2653&amp;quot;;
	};
};

&amp;amp;clock {
	hfclkaudio-frequency = &amp;lt;11289600&amp;gt;;
};

i2s_rxtx: &amp;amp;i2s0 {
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;i2s0_default_alt&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;i2s0_sleep_alt&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;,&amp;quot;sleep&amp;quot;;
	clock-source = &amp;quot;ACLK&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/502384?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 20:52:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9044cf73-38f5-4c36-8dc0-ff6e83f6ca8f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I understand. In that case, I would recommend that you start with the audio sample, because it will be more work to add this to a barebone I2S application later.&lt;/p&gt;
&lt;p&gt;Try to build the broadcast source configuration, and locate where it picks up the microphone signals.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/501737?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2024 12:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6d88f3e-69ac-45e2-9d90-1af5a7afb9ec</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;Actually i want to use both the things.I want data to be processed played in speaker and I want to transfer raw data without any processing over BLE.This is main theme to be done.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/501528?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 11:39:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e6e9e76-b721-4acd-9cb7-0e4e1aece67c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;To be clear, will you use Audio over BLE at all, or do you just want to do this locally? Because if you intend to use audio over BLE, I suggest you start familiarizing with the nrf5340_audio found in ncs\nrf\applications\nrf5340_audio, but if you are just using the I2S, then I would start with a simpler sample, and just add I2S.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/501075?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2024 06:45:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c501ef8-ed41-4840-9370-772b528cc363</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;Can you help me in what function do i need to use for accesing mic data to amplifier.I am getting mic data by using i2s_read so,in order to send that data to amplifier what i need to use to configure?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/501000?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 14:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20678683-ce36-4129-9c49-40c6963aa7c2</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;As long as you don&amp;#39;t need any data back from the amplifier to the nRF, then I would assume that you can use the RX pin on the microphone, and the TX pin for the amplifier.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/500977?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 12:53:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54dbdf4b-f4b2-40d8-b023-098bdc9277af</guid><dc:creator>Kashyap23</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/114104/accessing-two-channels-of-i2s/500969"]I take that back. The nRF5340 only has one I2S instance. Do you need to transmit data both ways for the microphone? Something to set it up? Or is it sufficient to only receive?[/quote]
&lt;p&gt;OK,I&amp;nbsp;want to receive data from MIC and apply filters to that audio.Here what does instance represent-The&amp;nbsp; Channels?Because I saw in datasheet nrf5340 has 2-channels.So thought to use one for Rx for mic and one for Tx to Amplifier.So make me confirm we can perform in this controller&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/114104/accessing-two-channels-of-i2s/500969"]And how about the amplifier? I guess you want the PCM data coming back from the amplifier as well?[/quote]
&lt;p&gt;Here I will use Tx and want to transmit data from processed mic data by applying filters and I just want to play that in Speakers.But this I want with no data loss&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/500969?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 12:09:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f756b499-cedd-431b-adc1-f82b778eb227</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I take that back. The nRF5340 only has one I2S instance. Do you need to transmit data both ways for the microphone? Something to set it up? Or is it sufficient to only receive?&lt;/p&gt;
&lt;p&gt;And how about the amplifier? I guess you want the PCM data coming back from the amplifier as well? In that case, this actually may not work. Unless you either bitbang the microphone, or you would need to uninit one device, initialize the other, and keep swapping between these, which means that at least half the time you will not be able to record from the microphone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/500943?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 11:23:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5b558e0-1298-426e-9891-511514591ef8</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;In that specified case,No, we cannot connect microphone directly to the amplifier, we need to get the raw data from microphone and process it by adding filters, volume controls which is required in our application.&lt;/p&gt;
&lt;p&gt;We want to know is it possible to do the above explained method with this Single I2S with two channel configuration.?&lt;/p&gt;
&lt;p&gt;So for that processing of raw data and need to send for amplification at same time .So to achieve how can i use the buffer to perform.This is actual case .My sampling Rate is 16khz.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/500937?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 10:59:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92519531-9dac-4e9b-92a1-c5cc5c262adc</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I believe this is possible, yes. You would then need to read the data from the microphone, then take the buffer from the microphone and send it (using i2s_buf_write) to the amplifier. It would require two instances of I2S. This is why, if you don&amp;#39;t need the raw data from the microphone, you could try to connect the output of the I2S from the microphone directly to the amplifier, and test if that works. This would reduce the delay, as you wouldn&amp;#39;t need first receive then transmit the PCM data.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/500930?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 10:30:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe71e5da-3d12-4a7e-bbb1-01410b4934b8</guid><dc:creator>Kashyap23</dc:creator><description>&lt;pre class="zcmsgcnt textL" dir="auto"&gt;I would like to explain my application here and need to confirm if I can achieve this using nrf5340&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3326.image-_2800_1_2900_.png" /&gt;&lt;br /&gt;1) We will read data from Microphone using I2S&lt;br /&gt;&lt;br /&gt;2) Then, We will send the same data to Amplifier which is also connected through I2S&lt;br /&gt;(This process should not have any larger delay and we need live streaming of microphone data)&lt;br /&gt;&lt;br /&gt;Query:&lt;br /&gt;&lt;br /&gt; Can this be achieved using the below connection method. If not, what should be done to use this I2S with 2 channels&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5383.image.png" /&gt;&lt;/pre&gt;
[quote userid="26071" url="~/f/nordic-q-a/114104/accessing-two-channels-of-i2s/500924"]is it not possible to just provide the clock signal, and wire the I2S data directly to the amplifier?[/quote]
&lt;pre id="posted-message-container" class="zcmsgcnt textL" dir="auto"&gt;I am not sure whether it works,please confirm me that,If yes will it achieve by using i2s_buf_write will be transfer to amplifier?&lt;br /&gt;Please note: Our chosen amplifier will act only as slave and it cannot give out its own clock signals to Microphone.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/500924?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 10:04:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b311cce-5d78-4af8-9929-e50852bc314d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;We don&amp;#39;t provide source code, unfortunately. You need to write the application yourself.&lt;/p&gt;
&lt;p&gt;If you just want to pass the data into the amplifier, is it not possible to just provide the clock signal, and wire the I2S data directly to the amplifier? Also connect it to the nRF (using the same wire split into two), so that you can just read the mic data like it is done in the sample, and the I2S&amp;#39; PCM stream will go directly to the amplifier as well? You would also need to wire the LRCLK to both devices.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you sure the amplifier doesn&amp;#39;t provide it&amp;#39;s own clock signals to the microphone? I am not saying it does, but it could make sense that it does.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/500918?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 09:35:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43a96ad5-fbce-40eb-86f4-34027e31db33</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;I mainly wanted to know how to perform getting mic data as well send data for amplification by sharing same clock of LRCK and SCK .I need how to configure that both to achieve .Will i get any source for achieving or first is it possible to achieve that live data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/500766?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2024 12:16:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:833fd690-7b6b-4521-92f9-ab876264fc15</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;PCM and I2S is almost the same thing. An I2S interface will provide you a PCM stream of data. The default Audio example (ncs\nrf\applications\nrf5340_audio) should provide an example how to use both I2S to a microphone and PCM to an output stream, or to a sound device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please check the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/nrf5340_audio/index.html"&gt;nRF5340_Audio documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;So e.g. the configuration of an Broadcast source should record the audio from somewhere (the microphone) using I2S, and the Broadcast sink will take that data and output it as PCM (via the I2S interface).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/500206?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2024 12:27:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55cd2160-9717-4d5b-9b63-d49a1cd60caa</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;Amplifier needs PCM data of mic.&lt;/p&gt;
&lt;p&gt;Can you please provide me any sorce code how can i able to use 2 channels in I2S one mic and one for transmitting to amplifier.First confirm is nrf having two channels I2S format for config this thing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/500016?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 13:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04ef0f8b-11c3-4226-aec3-a2d181d3f02e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;So you are able to sample the microphone, right?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how this amplifier expects it&amp;#39;s data. Does the datasheet of the amp say anything about how it wants it&amp;#39;s data?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/499580?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 13:17:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3626993-96a9-4aac-86b6-91e282f0e1d7</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;1.Yes I need to transfer to amplifier&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2.Yes ,It uses I2s Tx for audio and uses I2C for accessing Registers in Amplifier.&lt;/p&gt;
&lt;p&gt;I am using sampling rate of 16khz for getting mic data.I want to know how I can achieve getting Mic data and sending to amplifier with this I2S 2-channels of NRF5340 with my sampling rate as per following connection.How I can do this and what type of I2S fmt i need to use as I am getting samples continuously and I need to do amplification for that samples.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/7026.image.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/499399?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 14:00:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c1477ab-0d7c-41ad-ab28-528d29cce2b1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have not tried any of these components. But you want to receive I2S from the microphone, and forward it to the amplifier, right?&lt;/p&gt;
&lt;p&gt;The microphone looks pretty straight forward, but I am not sure about the amplifier. It looks like an I2C device, not SPI. Is that right?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Accessing two channels of i2s</title><link>https://devzone.nordicsemi.com/thread/499292?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 04:51:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91312778-785f-4358-a16a-e9cc5f3d52f5</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;So will it be possible getting mic data and sending mic data to Amplifier with same&amp;nbsp;&lt;span&gt;SCK,LRCK pins (p0.14,p0.16) for both,because I used SAI protocol in&amp;nbsp;STM there it has 2 Channels of SAI A,SAI B which is two channel ,so it has dedicated pins for each channel where i have used one for MIC data collection and other channel for Amplification .So I want to know how in NRF i2s work with 2 channels where it has single clocks .I am using MIC SPH0645LM4H and Amplifier&amp;nbsp;&lt;/span&gt;TAS2562YFPT&lt;/p&gt;
&lt;pre id="posted-message-container" class="zcmsgcnt textL" dir="auto"&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/IMG_5F00_20240822_5F00_101500393_5F00_DOC.jpg" /&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>