<?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>Developing with Nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106972/developing-with-nrf5340-audio-dk</link><description>Hi, I&amp;#39;m here again with few questions, and it will be great if anyone can answer. Firstly, i n my job, we are going to improve some product with BLE audio, so we buy a Nrf5340 audio DK (only 1 because we have an earphone with BLE audio and LC3 codec)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Jan 2024 11:47:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106972/developing-with-nrf5340-audio-dk" /><item><title>RE: Developing with Nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/thread/462479?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2024 11:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e583b0b9-c868-4e25-bfdb-832a1b26856c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Good luck Aissa!&lt;/p&gt;
&lt;p&gt;Just let me know if you have more questions later on.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with Nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/thread/462286?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 12:49:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5059f66-609c-4f20-a936-e8af81747d11</guid><dc:creator>Aissa_akrikez</dc:creator><description>&lt;p&gt;Thank you very much,&lt;/p&gt;
&lt;p&gt;I finally have audio in my headphones, now I&amp;#39;m going to simplify or create a new application with the basic code to make it easier to work with.&lt;/p&gt;
&lt;p&gt;I am also testing the BIS function, so far I have not been able to send this audio but this is not important for now.&lt;/p&gt;
&lt;div id="gtx-trans" style="left:-19px;position:absolute;top:23px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with Nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/thread/462237?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 10:21:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb79b25c-8a99-4d18-8a24-6e026f761d3a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Aissa&lt;/p&gt;
[quote user="Aissa_akrikez"]One thing I was thinking about is that connecting and pairing is not the same thing, is that correct?[/quote]
&lt;p&gt;That is correct. Connecting in Bluetooth is the act of establishing a link between two devices.&amp;nbsp;You don&amp;#39;t need to connect to receive a broadcast, but in order to receive a CIS stream you need to establish a connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Pairing happens after you connect, and is an optional stage used to establish an encrypted link between the two devices in the connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After that you can also go through the bonding stage, which allows you to store the encryption information from the pairing stage in flash so that you can re-enable encryption again later without having to&amp;nbsp;redo pairing.&amp;nbsp;&lt;/p&gt;
[quote user="Aissa_akrikez"]I know it&amp;#39;s a difficult question but as you said I think the audio application is very complete and I have the feeling that it has a lot of options, and I only need a few of them. I am going to learn with this app and later on I will try to create my app with my options.[/quote]
&lt;p&gt;Sounds like a good strategy &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with Nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/thread/462049?ContentTypeID=1</link><pubDate>Fri, 29 Dec 2023 08:33:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc1f203a-8446-4acc-a196-775da314133e</guid><dc:creator>Aissa_akrikez</dc:creator><description>&lt;p&gt;Hi Ovrebekk, first thank for answering me.&amp;nbsp;&lt;/p&gt;
[quote userid="2116" url="~/f/nordic-q-a/106972/developing-with-nrf5340-audio-dk/461994"]Sounds like you need to enable CONFIG_AUDIO_SOURCE_I2S then, as described &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf5340_audio/README.html#selecting-the-i2s-serial"&gt;here&lt;/a&gt;. Then the audio will be sourced from the audio codec over I2S, rather than USB which is default.&amp;nbsp;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using that option so great, one thing less to spending time thinking about it.&lt;/p&gt;
[quote userid="2116" url="~/f/nordic-q-a/106972/developing-with-nrf5340-audio-dk/461994"]&lt;p&gt;You mean you are using the Audio DK as a gateway and you have been able to connect to your earphones from the Audio DK?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I believe pairing and bonding is enabled by default, but I need to confirm this with the developers.&lt;/p&gt;
&lt;p&gt;Do you have logging enabled on the DK so you can get log output when the application is running?&amp;nbsp;&lt;br /&gt;Then you should see whether pairing is performed or not.&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;Yes, my idea is to use DK audio as a gateway and with the input send audio through a private broadcast.&lt;/p&gt;
&lt;p&gt;I will enable the log output to see that information.&lt;/p&gt;
&lt;p&gt;One thing I was thinking about is that connecting and pairing is not the same thing, is that correct?&lt;/p&gt;
&lt;p&gt;Because I have only been able to connect with the sample central present in zephyr resources, with the audio app, I can&amp;#39;t connect.&lt;/p&gt;
[quote userid="2116" url="~/f/nordic-q-a/106972/developing-with-nrf5340-audio-dk/461994"]Out of interest, what is the brand and model of your earphones?[/quote]
&lt;p&gt;It&amp;#39;s the new earphones Creative zen hybrid pro.&lt;/p&gt;
[quote userid="2116" url="~/f/nordic-q-a/106972/developing-with-nrf5340-audio-dk/461994"]&lt;p&gt;That is correct. If what you want is a&amp;nbsp;direct&amp;nbsp;connection between two devices then CIS is the way to go.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BIS makes sense when you want to broadcast audio to a large number of devices.&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;Okey, thanks.&lt;/p&gt;
[quote userid="2116" url="~/f/nordic-q-a/106972/developing-with-nrf5340-audio-dk/461994"]&lt;p&gt;It&amp;#39;s a bit hard to give a&amp;nbsp;general&amp;nbsp;answer to this question.&amp;nbsp;I would start by trying to configure the default application to do what you want, since it sounds like a gateway in I2S mode will get you pretty close, but the LE Audio application is quite complex and for some use cases it will make more sense to implement a stripped down optimized application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is also important to note that the codec chip used on the Audio DK only supports mono sound. If you want to input stereo sound you would need to use a different codec chip.&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;I know it&amp;#39;s a difficult question but as you said I think the audio application is very complete and I have the feeling that it has a lot of options, and I only need a few of them. I am going to learn with this app and later on I will try to create my app with my options.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div id="gtx-trans" style="left:-88px;position:absolute;top:716px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with Nrf5340 audio dk</title><link>https://devzone.nordicsemi.com/thread/461994?ContentTypeID=1</link><pubDate>Thu, 28 Dec 2023 14:35:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00338d6f-7a44-4a67-9f93-43a5a46b3e36</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Aissa&lt;/p&gt;
[quote user=""]1. First I want to use the input present in the board to input audio, but I can&amp;#39;t see any sample about it, if I&amp;#39;m not wrong it&amp;#39;s using with the I2S drivers, no?[/quote]
&lt;p&gt;Sounds like you need to enable CONFIG_AUDIO_SOURCE_I2S then, as described &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf5340_audio/README.html#selecting-the-i2s-serial"&gt;here&lt;/a&gt;. Then the audio will be sourced from the audio codec over I2S, rather than USB which is default.&amp;nbsp;&lt;/p&gt;
[quote user=""]2. The earphones (for the time being it is not contemplated to use and stereo audio) they haven&amp;#39;t and interface with the smartphone. So I tested to connect to the board with the level of RSSI, and it&amp;#39;s work, but I think it&amp;#39;s not paired so how I can do that?[/quote]
&lt;p&gt;You mean you are using the Audio DK as a gateway and you have been able to connect to your earphones from the Audio DK?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I believe pairing and bonding is enabled by default, but I need to confirm this with the developers.&lt;/p&gt;
&lt;p&gt;Do you have logging enabled on the DK so you can get log output when the application is running?&amp;nbsp;&lt;br /&gt;Then you should see whether pairing is performed or not.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Out of interest, what is the brand and model of your earphones?&lt;/p&gt;
[quote user=""]&lt;span&gt;3.&amp;nbsp;With the above question, my requirements require me to be&amp;nbsp;&lt;/span&gt;CIS I think, because I need to connect the headphones and avoid connecting other devices. It&amp;#39;s that correct?[/quote]
&lt;p&gt;That is correct. If what you want is a&amp;nbsp;direct&amp;nbsp;connection between two devices then CIS is the way to go.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BIS makes sense when you want to broadcast audio to a large number of devices.&amp;nbsp;&lt;/p&gt;
[quote user=""]3. It is clear to me that need to create a new program with my requirements, how I should start&amp;nbsp;or is it better to use the audio application and change It as I&amp;nbsp;need?[/quote]
&lt;p&gt;It&amp;#39;s a bit hard to give a&amp;nbsp;general&amp;nbsp;answer to this question.&amp;nbsp;I would start by trying to configure the default application to do what you want, since it sounds like a gateway in I2S mode will get you pretty close, but the LE Audio application is quite complex and for some use cases it will make more sense to implement a stripped down optimized application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is also important to note that the codec chip used on the Audio DK only supports mono sound. If you want to input stereo sound you would need to use a different codec chip.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>