<?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 implementation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121806/lc3-implementation</link><description>Hi, 
 I am using nrf54l15 ,here I have bare i2s code for reading data from mics and ble code for notifying that data but here I am planning to use lc3 codec to compress data and send over BLE .Can you guide me how can i use library of lc3 to encode .I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 May 2025 06:15:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121806/lc3-implementation" /><item><title>RE: lc3 implementation</title><link>https://devzone.nordicsemi.com/thread/537280?ContentTypeID=1</link><pubDate>Wed, 28 May 2025 06:15:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d127263a-8af2-43d0-9c0c-e10763f97a74</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Great,&lt;/p&gt;
[quote user="Kashyap23"]&lt;blockquote&gt;&lt;div&gt;I assume sample uses default usb audio but here i will be getting PCM data from mic with i2s .Can you guide me on that .&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;
&lt;p&gt;Can you look into this?&lt;/p&gt;[/quote]
&lt;p&gt;Unless any of the samples showcases how to do this, I&amp;#39;m afraid you are on your own w.r.t doing this work. I recommend you thoroughly investigate the Audio application docs, the i2s sample I sent as well as search the forums for any input.&lt;/p&gt;
&lt;p&gt;Everything you need should be present there.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lc3 implementation</title><link>https://devzone.nordicsemi.com/thread/537225?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 14:34:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0acd2f8-dc8e-4927-a3cd-473422fcab01</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;I have removed the existing builds and i ran the script ,it worked now.&lt;/p&gt;
[quote userid="134881" url="~/f/nordic-q-a/121806/lc3-implementation/537212"]I assume sample uses default usb audio but here i will be getting PCM data from mic with i2s .Can you guide me on that .[/quote]
&lt;p&gt;Can you look into this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lc3 implementation</title><link>https://devzone.nordicsemi.com/thread/537224?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 14:30:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:005f8b6f-4ec6-42a2-870f-1879bbaf7ec5</guid><dc:creator>AHaug</dc:creator><description>[quote user="Kashyap23"]r.I am using sdk v2.9 and toolchain v2.8[/quote]
&lt;p&gt;Please make sure to always match the SDK and toolchain versions and make sure that you&amp;#39;re building the audio application from the SDK version you&amp;#39;re using.&lt;/p&gt;
&lt;p&gt;If you need input with the basics of NCS, building and seeing how things works together, I strongly recommend you spend some time in our academy pages&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals&lt;/a&gt;/ and&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lc3 implementation</title><link>https://devzone.nordicsemi.com/thread/537222?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 14:22:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f545325-22bf-4067-99d1-c316785b75de</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;To add on,If i tried to solve python error ,I got following error&lt;pre class="ui-code" data-mode="text"&gt;Invoking build step
Net core uses precompiled hex or child image
Run: west build /home/c11941/nrf_ble_samples/nrf5340_audio -b nrf5340_audio_dk/nrf5340/cpuapp --sysbuild -d /home/c11941/nrf_ble_samples/nrf5340_audio/build/dev_gateway/build_debug 
ninja: error: loading &amp;#39;build.ninja&amp;#39;: No such file or directory
FATAL ERROR: command exited with status 1: /home/c11941/ncs/toolchains/b81a7cd864/usr/local/bin/cmake --build /home/c11941/nrf_ble_samples/nrf5340_audio/build/dev_gateway/build_debug
Traceback (most recent call last):
  File &amp;quot;/home/c11941/nrf_ble_samples/nrf5340_audio/tools/buildprog/buildprog.py&amp;quot;, line 418, in &amp;lt;module&amp;gt;
    __main()
  File &amp;quot;/home/c11941/nrf_ble_samples/nrf5340_audio/tools/buildprog/buildprog.py&amp;quot;, line 401, in __main
    __build_module(build_cfg, options)
  File &amp;quot;/home/c11941/nrf_ble_samples/nrf5340_audio/tools/buildprog/buildprog.py&amp;quot;, line 176, in __build_module
    raise Exception(&amp;quot;cmake error: &amp;quot; + str(ret_val))
Exception: cmake error: 256&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lc3 implementation</title><link>https://devzone.nordicsemi.com/thread/537220?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 14:14:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8124e7c3-8b7a-4b9e-8587-33a97176fc0f</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have followed same thing now I got following error.I am using sdk v2.9 and toolchain v2.8&lt;pre class="ui-code" data-mode="text"&gt;c11941@VT-11941l:~/nrf_ble_samples/nrf5340_audio$ python3 /home/c11941/nrf_ble_samples/nrf5340_audio/tools/buildprog/buildprog.py -c both -b debug -d gateway -p
+------------+----------+---------+--------------+---------------------+---------------------+
|    snr     | snr conn |  device | only reboot  | core app programmed | core net programmed |
+------------+----------+---------+--------------+---------------------+---------------------+
|    1000    |  False   | headset | Not selected |     Not selected    |     Not selected    |
| 1050196183 |   True   | gateway | Not selected |       Selected      |       Selected      |
|    1000    |  False   | headset | Not selected |     Not selected    |     Not selected    |
+------------+----------+---------+--------------+---------------------+---------------------+
Invoking build step
Net core uses precompiled hex or child image
Run: west build /home/c11941/nrf_ble_samples/nrf5340_audio -b nrf5340_audio_dk/nrf5340/cpuapp --sysbuild -d /home/c11941/nrf_ble_samples/nrf5340_audio/build/dev_gateway/build_debug 
/usr/bin/env: ‘python3.9’: No such file or directory
FATAL ERROR: command exited with status 127: /home/c11941/ncs/toolchains/b81a7cd864/usr/local/bin/cmake --build /home/c11941/nrf_ble_samples/nrf5340_audio/build/dev_gateway/build_debug
Traceback (most recent call last):
  File &amp;quot;/home/c11941/nrf_ble_samples/nrf5340_audio/tools/buildprog/buildprog.py&amp;quot;, line 418, in &amp;lt;module&amp;gt;
    __main()
  File &amp;quot;/home/c11941/nrf_ble_samples/nrf5340_audio/tools/buildprog/buildprog.py&amp;quot;, line 401, in __main
    __build_module(build_cfg, options)
  File &amp;quot;/home/c11941/nrf_ble_samples/nrf5340_audio/tools/buildprog/buildprog.py&amp;quot;, line 176, in __build_module
    raise Exception(&amp;quot;cmake error: &amp;quot; + str(ret_val))
Exception: cmake error: 32512&lt;/pre&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lc3 implementation</title><link>https://devzone.nordicsemi.com/thread/537218?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 14:07:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9c080e1-794d-438e-b186-64cb6f0e77be</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;The issue seems to be related to you running it from a setup that does not have access to west, nrfutil and the other dependencies from the SDK.&lt;/p&gt;
&lt;p&gt;Could you either open a terminal profile within the VS Code extension and build from there&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7853.pastedimage1748354829198v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;or follow the steps to set up a terminal with the manual steps from the installation guide&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/installation/install_ncs.html#install-ncs"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/installation/install_ncs.html#install-ncs&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lc3 implementation</title><link>https://devzone.nordicsemi.com/thread/537212?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 13:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11db2244-edba-4ff5-8084-08fe797c48d4</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;I assume sample uses default usb audio but here i will be getting PCM data from mic with i2s .Can you guide me on that .And now I have been trying to buid audio application using python script by choosing as a gateway device but I couldn&amp;#39;t build that,I am getting following error.&lt;pre class="ui-code" data-mode="text"&gt;c11941@VT-11941l:~/nrf_ble_samples/nrf5340_audio/tools/buildprog$ python3 buildprog.py -c both -b debug -d gateway -p
+------------+----------+---------+--------------+---------------------+---------------------+
|    snr     | snr conn |  device | only reboot  | core app programmed | core net programmed |
+------------+----------+---------+--------------+---------------------+---------------------+
|    1000    |  False   | headset | Not selected |     Not selected    |     Not selected    |
| 1050196183 |   True   | gateway | Not selected |       Selected      |       Selected      |
|    1000    |  False   | headset | Not selected |     Not selected    |     Not selected    |
+------------+----------+---------+--------------+---------------------+---------------------+
Invoking build step
Net core uses precompiled hex or child image
Run: west build /home/c11941/nrf_ble_samples/nrf5340_audio -b nrf5340_audio_dk/nrf5340/cpuapp --sysbuild -d /home/c11941/nrf_ble_samples/nrf5340_audio/build/dev_gateway/build_debug -DCONFIG_AUDIO_DEV=2
usage: west [-h] [-z ZEPHYR_BASE] [-v] [-q] [-V] &amp;lt;command&amp;gt; ...
west: unknown command &amp;quot;build&amp;quot;; do you need to run this inside a workspace?
Traceback (most recent call last):
  File &amp;quot;/home/c11941/nrf_ble_samples/nrf5340_audio/tools/buildprog/buildprog.py&amp;quot;, line 418, in &amp;lt;module&amp;gt;
    __main()
  File &amp;quot;/home/c11941/nrf_ble_samples/nrf5340_audio/tools/buildprog/buildprog.py&amp;quot;, line 401, in __main
    __build_module(build_cfg, options)
  File &amp;quot;/home/c11941/nrf_ble_samples/nrf5340_audio/tools/buildprog/buildprog.py&amp;quot;, line 176, in __build_module
    raise Exception(&amp;quot;cmake error: &amp;quot; + str(ret_val))
Exception: cmake error: 256&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lc3 implementation</title><link>https://devzone.nordicsemi.com/thread/537208?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 13:49:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36c04659-2f40-4980-a657-7b18d5e08c36</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Ah, I misunderstood your query.&amp;nbsp;&lt;/p&gt;
[quote user="Kashyap23"]And using that we decode it on application side and use that data for plotting purpose ,so here sink will be application not any headset or audio thing.In this case how can I&amp;nbsp; use lc3 codec library which available in nrfxlib folder [/quote]
&lt;p&gt;Yes, you should be able to use LC3 with nRF54L15. The lack of a PLL will cause issues with synchronization, and poorer user experience for headset applications, but as you mention your application will be a sink/gateway.&lt;/p&gt;
[quote user="Kashyap23"]will that work without compressing two channels separately ?as I read somewhere we should compress each channel separately[/quote]
&lt;p&gt;Yes, that should work, but unfortunately, as of now we don&amp;#39;t have ny samples/demos showcasing specifically how to do this and no docs either other than for the nRF5340 audio application&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/nrf5340_audio/index.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/nrf5340_audio/index.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I guess a similar approach can be followed and abstracted for the 54L15 with the exception of synchronisation for headset/true wireless purposes.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lc3 implementation</title><link>https://devzone.nordicsemi.com/thread/537199?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 13:23:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3b9f686-f180-4528-9a07-9665d4c8ab9d</guid><dc:creator>Kashyap23</dc:creator><description>&lt;p&gt;HELLO,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I already worked with&amp;nbsp; I2s and able to get data from mic but I need to compress data using lc3 codec and notify it over BLE,as i am using 16k sampling of 2 channel(64KB) as for longer distance I am loosing data&amp;nbsp; .And using that we decode it on application side and use that data for plotting purpose ,so here sink will be application not any headset or audio thing.In this case how can I&amp;nbsp; use lc3 codec library which available in nrfxlib folder ?will that work without compressing two channels separately ?as I read somewhere we should compress each channel separately. Can I use that library for encoding?Is this correct way ? Do nrf54l15 should support lc3 ?It&amp;#39;s not the thing like we can use lc3 library ,it will work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lc3 implementation</title><link>https://devzone.nordicsemi.com/thread/537189?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 13:02:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a94f66ab-503b-4c5f-80d0-01a42bfadfc0</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Just so you&amp;#39;re aware of it, currently there&amp;#39;s no support for LC3 and LE Audio on the nRF54L15, and there most likely will not be due to the SoC not having an Audio PLL which is mandatory for synchronisation. It may change in the future, but I give no guarantee that it will do that.&lt;/p&gt;
&lt;p&gt;But if you&amp;#39;re only aiming to set up an I2S for the nRF54L15, here&amp;#39;s a test sample that shows how the I2S driver works, which should work for the nRF54L15DK as well&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/tests/drivers/i2s/i2s_api"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/tests/drivers/i2s/i2s_api&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Within /boards there&amp;#39;s overlays for the nrf54l15dk/nrf54l15/cpuapp build target&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>