<?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>How to introduce the LE-Audio function</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111868/how-to-introduce-the-le-audio-function</link><description>1. Can I use the sample source (nRF5340 Audio) on another board? 
 2. Is there a way to develop without using the sample source? If so, how? 
 3. Is the LE Audio sample source not supported by VSCODE? 
 4. If not, what kind of environment should I use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jun 2024 09:42:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111868/how-to-introduce-the-le-audio-function" /><item><title>RE: How to introduce the LE-Audio function</title><link>https://devzone.nordicsemi.com/thread/489047?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 09:42:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:299cb2fc-4e6c-4582-b510-e5d7a4679448</guid><dc:creator>Elfving</dc:creator><description>[quote user="Junichi"]&lt;p&gt;Please tell me how to output the log.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;If the code runs into issues I think it would outbut something on its COM port.&amp;nbsp;You can have a look at this by for instance&amp;nbsp;using our extension in Visual Studio Code: find the Development Kit in the Drop Down menu called Connected Devices, and press the button with the cable Icon called &amp;quot;connect to serial port&amp;quot;.&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/pastedimage1718616590955v2.png" alt=" " /&gt;&lt;/p&gt;
[quote user="Junichi"]&lt;p&gt;I am running the script with the following command.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Looks good. You could also add &amp;quot;--pristine&amp;quot; to make sure everything builds from scratch, including configurations.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You&amp;#39;re not having issues getting the default sample to build and run, right?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to introduce the LE-Audio function</title><link>https://devzone.nordicsemi.com/thread/488206?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 03:47:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c0e82c3-708b-43b6-ac75-b439b327d186</guid><dc:creator>Junichi</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you for your answer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please tell me how to output the log.&lt;/p&gt;
&lt;p&gt;Since VSCODE is not supported, I am running the script in release mode.&lt;/p&gt;
&lt;p&gt;I am running the script with the following command.&lt;/p&gt;
&lt;p&gt;Build&lt;br /&gt;python buildprog.py -c both -b release -d both -m internal -M&lt;/p&gt;
&lt;p&gt;FLASH&lt;br /&gt;python buildprog.py -c both -b release -d both -m internal -M -p --recover_on_fail&lt;/p&gt;
&lt;p&gt;Should I run the above with -b debug?&lt;/p&gt;
&lt;p&gt;Please also tell me where the log is generated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to introduce the LE-Audio function</title><link>https://devzone.nordicsemi.com/thread/488143?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 13:05:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ba19100-c4ea-496e-81b3-e30a933885fe</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Junichi"]Can I use other audio codec ICs?&lt;br /&gt;[/quote]
&lt;p&gt;Yes. I&amp;#39;m not familiar with 3rd party products,&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;but almost any HW Codec will work. The crucial thing is that is must support being an I2S slave, and they should be reasonably immune to clock jitter (as we adjust the audio clock (PLL) to keep devices in sync).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="Junichi"]2. CODEC and BLE connection&lt;br /&gt;[/quote]
&lt;p&gt;Hmm I&amp;nbsp;can ask the relevant R&amp;amp;D team. My understanding is that it wouldn&amp;#39;t necessarily have to be a relationsship between the two that stops the connection, though this could lead to some error which can stop the connection.&lt;/p&gt;
&lt;p&gt;Are you getting any errors in the logs?&lt;/p&gt;
[quote user="Junichi"]3. About BLE connection&lt;br /&gt;[/quote]
&lt;p&gt;Yes. That is just how to the sample functions. You are free to modify this however you see fit.&lt;/p&gt;
[quote user="Junichi"]4. BLE bonding information&lt;br /&gt;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/support-private/support/327716"&gt;Have a look at this previous case about this topic.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to introduce the LE-Audio function</title><link>https://devzone.nordicsemi.com/thread/487817?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2024 02:48:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:303c48dd-fdb1-4746-9a49-24c350c8a8a6</guid><dc:creator>Junichi</dc:creator><description>&lt;p&gt;Thank you for your answer.&lt;/p&gt;
&lt;p&gt;1. Audio codec IC&lt;br /&gt;Can I use other audio codec ICs?&lt;br /&gt;I want to use the codec ICs AK5720VT for the transceiver and AK4432VT for the receiver.&lt;/p&gt;
&lt;p&gt;2. CODEC and BLE connection&lt;br /&gt;I changed the setting interface to I2C to use the CODEC IC shown in 1.&lt;br /&gt;I also changed the I2S port number.&lt;br /&gt;After making the above changes, the nRF5340 Audio DK can no longer connect to BLE.&lt;br /&gt;Is there a relationship between the audio part processing and the BLE connection processing?&lt;br /&gt;Also, if I make changes to the audio part, is it necessary to add any processing?&lt;/p&gt;
&lt;p&gt;3. About BLE connection&lt;br /&gt;The sample code automatically connects to BLE after power is turned on.&lt;br /&gt;Is it possible to connect at any time?&lt;/p&gt;
&lt;p&gt;4. BLE bonding information&lt;br /&gt;Where in the sample code is the BLE bonding information managed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to introduce the LE-Audio function</title><link>https://devzone.nordicsemi.com/thread/487774?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2024 14:14:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:633ae81d-08e7-4d94-bd92-a0add2a082f9</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Junichi,&lt;/p&gt;
[quote user=""]&lt;p&gt;1. Can I use the sample source (nRF5340 Audio) on another board?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Yes, you can use this on another board. Though you might have to modify it, as the audio sample might use features of the board that you might not have on your own.&lt;/p&gt;
[quote user=""]&lt;p&gt;2. Is there a way to develop without using the sample source? If so, how?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Yes, that is theoretically possible. Though it will be a&amp;nbsp;lot more complex than to use the demo as a starting point, and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf5340_audio/doc/adapting_application.html#adapting-nrf5340-audio-applications-for-end-products"&gt;trying to modify it&lt;/a&gt;. Any particular reason why you do not want to use the sample source code?&lt;/p&gt;
[quote user=""]&lt;p&gt;3. Is the LE Audio sample source not supported by VSCODE?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Getting it working as quickly as other samples is not supported. In order to get it working without the script you would have to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf5340_audio/doc/building.html#building-and-programming-using-command-line"&gt;follow these steps here&lt;/a&gt;, which can be cumbersome. This is why we still recommend using our script for this.&lt;/p&gt;
[quote user=""]4. If not, what kind of environment should I use to debug?[/quote]
&lt;p&gt;I think you can still debug using VSC, though then you might have to set up the building configuration in the cumbersome way I referred to above.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can alternatively use Ozone for debugging, which allows you to attach to a running program. You can easily open Ozone from VSC.&lt;/p&gt;
&lt;p&gt;Let me know if there is anything else!&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>