<?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>LC3 initialization causes a restart</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87619/lc3-initialization-causes-a-restart</link><description>Hi, 
 I tried porting LC3 to my own 5340 project with reference to the SDK(nrf5340_audio_nrf5340_audio_dk_0.4.0), but I had a restart problem when initializing LC3 
 
 
 sw_codec_lc3_init ( NULL , NULL , LC3_FRAME_SIZE_US ); The NULL argument passed in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 May 2022 13:43:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87619/lc3-initialization-causes-a-restart" /><item><title>RE: LC3 initialization causes a restart</title><link>https://devzone.nordicsemi.com/thread/368848?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 13:43:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01132374-501b-4aaf-a647-6f7347613cc2</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;&lt;br /&gt;Thank you for the extreme patience with this.&lt;/p&gt;
[quote user="GinoWang"]&lt;p&gt;&amp;nbsp; &amp;nbsp; I was able to run LC3(from &lt;span&gt;nrf5340_audio_nrf5340_audio_dk_0.4.0&lt;/span&gt;) encoder&amp;amp;decoder successfully using an older version of the proprietary code, So I stopped downloading the latest Le Audio SDK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;I must &lt;em&gt;strongly recommend&lt;/em&gt; that you switch to the NCS version if possible. The v0.4.0 is deprecated, and will not receive any further updates with improvements and new features, while the NCS version will.&lt;br /&gt;Unless you have very strong reasons not to, please reconsider upgrading to the NCS version.&lt;/p&gt;
[quote user="GinoWang"]The current latest private code has an initialization LC3 restart problem,Can you teach me some ways to locate the problem.[/quote]
&lt;p&gt;What does the log say, when it attempts to initialize the LC3? How does the board behave when this happens? Please elaborate as much as possible, so that I may better understand the situation.&lt;/p&gt;
[quote user="GinoWang"]By the way, Please answer the&amp;nbsp;Q1&amp;amp;Q2 in the title.[/quote]
&lt;p&gt;Apologies, I must have overlooked these questions.&lt;br /&gt;&lt;br /&gt;Q1: These are two different heaps, correct.&lt;br /&gt;You can &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/zephyr/reference/kernel/memory/heap.html#system-heap"&gt;read more about the system heap here&lt;/a&gt;, and &lt;a href="https://github.com/nrfconnect/sdk-lc3/blob/58c8f55f6e78bf8244220bece17fc0720f679f00/doc/readme.md#platform"&gt;the LC3s heap usage here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Q2: Yes&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LC3 initialization causes a restart</title><link>https://devzone.nordicsemi.com/thread/366619?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 08:12:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2944bc81-c9d6-4795-ad7e-e407d283d4fc</guid><dc:creator>GinoWang</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; I was able to run LC3(from &lt;span&gt;nrf5340_audio_nrf5340_audio_dk_0.4.0&lt;/span&gt;) encoder&amp;amp;decoder successfully using an older version of the proprietary code, So I stopped downloading the latest Le Audio SDK.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; The current latest private code has an initialization LC3 restart problem,Can you teach me some ways to locate the problem.&lt;/p&gt;
&lt;p&gt;By the way, Please answer the&amp;nbsp;Q1&amp;amp;Q2 in the title.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LC3 initialization causes a restart</title><link>https://devzone.nordicsemi.com/thread/366607?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 07:36:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e1a2afc-bfb9-4f52-8ee9-6e69d5b782dd</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="GinoWang"]Thank you very much.[/quote]
&lt;p&gt;No problem at all, I am happy to help! :)&lt;/p&gt;
[quote user="GinoWang"]I&amp;#39;m going to download the latest NCS;[/quote]
&lt;p&gt;Please note that you will have to get the v1.9.99-dev1 tag from the nrfconnect repository directly, which is not available in the Toolchain Manager. If you have already got the v1.9.1 version downloaded through the toolchain manager you can get the devtag set up by following the steps in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html#get-the-ncs-code"&gt;&amp;#39;Get the nRF Connect SDK Code&amp;#39; section of the Getting started documentation&lt;/a&gt;. Make sure to complete all the 5 steps, and to change the &amp;#39;v1.9.1&amp;#39; with &amp;#39;v1.9.99-dev1&amp;#39; in the example command shown for step 3.&lt;br /&gt;&lt;br /&gt;Please do not hesitate to let me know if you should encounter any issues with getting the v1.9.99-dev1 tag up and running!&lt;/p&gt;
[quote user="GinoWang"]I am trying to get the LC3 codec application working on my custom nRF5340 based hardware[/quote]
&lt;p&gt;Thank you for clarifying, this is helpful for me to know.&lt;br /&gt;Let me know if you encounter any issues or questions with this once you have moved to working with the devtag.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LC3 initialization causes a restart</title><link>https://devzone.nordicsemi.com/thread/366559?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 01:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12bad1c1-d3d2-4ae8-9cbb-f434b9cfb18f</guid><dc:creator>GinoWang</dc:creator><description>&lt;ul&gt;
&lt;li&gt;
&lt;p class="src grammarSection"&gt;Thank you very much. I&amp;#39;m going to download the latest NCS;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;pre class="ui-code" data-mode="text"&gt;Could you clarify whether this means that you are trying to get the Audio application working on your custom nRF5340 based hardware, or if you are trying to port the application to an nRF5340 DK?&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;I am trying to get the LC3 codec application working on my custom nRF5340 based hardware&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LC3 initialization causes a restart</title><link>https://devzone.nordicsemi.com/thread/366493?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 13:31:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80adb45c-888a-4713-82fd-bbe56163bc76</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]reference to the SDK(nrf5340_audio_nrf5340_audio_dk_0.4.0)[/quote]
&lt;p&gt;The Audio SDK module is now available in the nRF Connect SDK, &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v1.9.99-dev1"&gt;through the newly released v1.9.99-dev1 tag&lt;/a&gt;, and as such the previous v0.4.0 firmware is now deprecated. I would strongly recommend that you switch to using the NCS version of the Audio SDK module before you continue your development, in order to benefit from all the newest improvements and features.&lt;/p&gt;
[quote user=""]I tried porting LC3 to my own 5340 project with reference to the SDK[/quote]
&lt;p&gt;Could you clarify whether this means that you are trying to get the Audio application working on your custom nRF5340 based hardware, or if you are trying to port the application to an nRF5340 DK?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>