<?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>nRF5340 Audio DK Setup</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124184/nrf5340-audio-dk-setup</link><description>Hi, 
 I am having issues testing the nRF5340 Audio DK, I have two dev kits and I am trying to program one with the Unicast Server and one with the Unicast Client hex files that I built, but based on the description of what is supposed to happen in the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Sep 2025 17:33:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124184/nrf5340-audio-dk-setup" /><item><title>RE: nRF5340 Audio DK Setup</title><link>https://devzone.nordicsemi.com/thread/548279?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 17:33:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cd22ad8-cf5e-495f-8739-9a94f46a9f6a</guid><dc:creator>jhubbard13579</dc:creator><description>&lt;p&gt;I was able to get it working once I was able to get the code for the network core building.&amp;nbsp; The commands I used were:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Server Build Commands:
west build --build-dir /opt/nordic/ncs/v3.1.0/nrf/applications/nrf5340_audio/build_server /opt/nordic/ncs/v3.1.0/nrf/applications/nrf5340_audio --pristine --board nrf5340_audio_dk/nrf5340/cpuapp --no-sysbuild -- -DEXTRA_CONF_FILE=&amp;quot;./unicast_server/overlay-unicast_server.conf&amp;quot; -DZEPHYR_SDK_INSTALL_DIR=&amp;quot;/opt/nordic/ncs/toolchains/5c0d382932/opt/zephyr-sdk&amp;quot; -DCMAKE_PREFIX_PATH=&amp;quot;/opt/nordic/ncs/toolchains/5c0d382932/opt/zephyr-sdk/cmake&amp;quot;
west build /opt/nordic/ncs/v3.1.0/nrf/applications/nrf5340_audio -b nrf5340_audio_dk/nrf5340/cpuapp --sysbuild --domain ipc_radio -d /opt/nordic/ncs/v3.1.0/nrf/applications/nrf5340_audio/build_radio_server  -DEXTRA_CONF_FILE=&amp;quot;./unicast_server/overlay-unicast_server.conf&amp;quot; -DZEPHYR_SDK_INSTALL_DIR=&amp;quot;/opt/nordic/ncs/toolchains/5c0d382932/opt/zephyr-sdk&amp;quot; -DCMAKE_PREFIX_PATH=&amp;quot;/opt/nordic/ncs/toolchains/5c0d382932/opt/zephyr-sdk/cmake&amp;quot;



Client Build Commands:
west build --build-dir /opt/nordic/ncs/v3.1.0/nrf/applications/nrf5340_audio/build_client /opt/nordic/ncs/v3.1.0/nrf/applications/nrf5340_audio --pristine --board nrf5340_audio_dk/nrf5340/cpuapp --no-sysbuild -- -DEXTRA_CONF_FILE=&amp;quot;./unicast_client/overlay-unicast_client.conf&amp;quot; -DZEPHYR_SDK_INSTALL_DIR=&amp;quot;/opt/nordic/ncs/toolchains/5c0d382932/opt/zephyr-sdk&amp;quot; -DCMAKE_PREFIX_PATH=&amp;quot;/opt/nordic/ncs/toolchains/5c0d382932/opt/zephyr-sdk/cmake&amp;quot;
west build /opt/nordic/ncs/v3.1.0/nrf/applications/nrf5340_audio -b nrf5340_audio_dk/nrf5340/cpuapp --sysbuild --domain ipc_radio -d /opt/nordic/ncs/v3.1.0/nrf/applications/nrf5340_audio/build_radio_client  -DEXTRA_CONF_FILE=&amp;quot;./unicast_client/overlay-unicast_client.conf&amp;quot; -DZEPHYR_SDK_INSTALL_DIR=&amp;quot;/opt/nordic/ncs/toolchains/5c0d382932/opt/zephyr-sdk&amp;quot; -DCMAKE_PREFIX_PATH=&amp;quot;/opt/nordic/ncs/toolchains/5c0d382932/opt/zephyr-sdk/cmake&amp;quot;
&lt;/pre&gt;Thanks for pointing me in the right direction.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Audio DK Setup</title><link>https://devzone.nordicsemi.com/thread/547963?ContentTypeID=1</link><pubDate>Fri, 05 Sep 2025 16:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a93fa4d4-0ab5-4af4-b018-72e4de47b0e3</guid><dc:creator>jhubbard13579</dc:creator><description>&lt;p&gt;I will take a look at those courses, thanks for the links!&amp;nbsp;&amp;nbsp;Are there any courses related to working with the Nordic multicore devices?&lt;/p&gt;
&lt;p&gt;Here is the prj.conf file&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# nRF5340 Audio
CONFIG_NRF5340_AUDIO=y
CONFIG_SAMPLE_RATE_CONVERTER=y
CONFIG_SAMPLE_RATE_CONVERTER_FILTER_SIMPLE=y

# General
CONFIG_DEBUG=y
CONFIG_DEBUG_INFO=y
CONFIG_ASSERT=y
CONFIG_STACK_USAGE=y
CONFIG_THREAD_RUNTIME_STATS=y
CONFIG_STACK_SENTINEL=y
CONFIG_INIT_STACKS=y
CONFIG_BT=y
CONFIG_NET_BUF_POOL_USAGE=y

# Uart driver
CONFIG_SERIAL=y

# Logging
CONFIG_LOG=y
CONFIG_LOG_TAG_MAX_LEN=2
CONFIG_LOG_TAG_DEFAULT=&amp;quot;--&amp;quot;
CONFIG_LOG_BACKEND_UART=y
CONFIG_LOG_BUFFER_SIZE=4096
CONFIG_BT_SECURITY_ERR_TO_STR=y

# Use this for debugging thread usage
#CONFIG_LOG_THREAD_ID_PREFIX=y

# Console related defines
CONFIG_CONSOLE=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=y

# Shell related defines
CONFIG_SHELL=y
CONFIG_KERNEL_SHELL=y
CONFIG_USE_SEGGER_RTT=y
## Disable logs on RTT
CONFIG_SHELL_RTT_INIT_LOG_LEVEL_NONE=y
CONFIG_SHELL_BACKEND_RTT=y
CONFIG_SHELL_BACKEND_SERIAL=n
CONFIG_SHELL_VT100_COMMANDS=y
CONFIG_SHELL_VT100_COLORS=y
CONFIG_SHELL_STACK_SIZE=4096
CONFIG_SHELL_CMD_BUFF_SIZE=128
## Reduce shell memory usage
CONFIG_SHELL_WILDCARD=n
CONFIG_SHELL_HELP_ON_WRONG_ARGUMENT_COUNT=n
CONFIG_SHELL_STATS=n
CONFIG_SHELL_CMDS=n
CONFIG_SHELL_HISTORY=y

# Turn off default shell commands
CONFIG_I2C_SHELL=n
CONFIG_HWINFO_SHELL=n
CONFIG_CLOCK_CONTROL_NRF_SHELL=n
CONFIG_FLASH_SHELL=n
CONFIG_DEVICE_SHELL=n

# Suppress LOG_ERR messages from sd_check_card_type. Because SPI_SDHC has no card presence method,
# assume card is in slot. Thus error message is always shown if card is not inserted
CONFIG_SD_LOG_LEVEL_OFF=y

# Suppress LOG_INF messages from hci_core
CONFIG_BT_HCI_CORE_LOG_LEVEL_WRN=y

# BT related configs
CONFIG_BT_ISO_TX_BUF_COUNT=3
CONFIG_BT_BUF_ACL_TX_COUNT=3
CONFIG_BT_ATT_TX_COUNT=12


# CONFIG_STREAM_BIDIRECTIONAL= # Enables bidirectional communication mode for CIS streams.
CONFIG_WALKIE_TALKIE_DEMO=y  # Enables the walkie-talkie demo functionality using bidirectional streams.
# CONFIG_TRANSPORT_BIS= # Enables Auracast™ (broadcast) mode for working with broadcast sources and sinks.
# CONFIG_BT_AUDIO_USE_BROADCAST_NAME_ALT=  # Enables BIS mode with two gateways, allowing headsets to switch between gateways.
# CONFIG_BT_AUDIO_BROADCAST_NAME_ALT= # Provides an alternative name for the second gateway in BIS mode.
# CONFIG_BT_AUDIO_SCAN_DELEGATOR= # Enables scan delegator. When the scan delegator feature is enabled, the broadcast sink will not search for a predefined broadcast source. Instead, it will wait for a broadcast assistant to connect and control it.
# CONFIG_AUDIO_SOURCE_I2S=y # Switches from USB audio source to 3.5 mm jack analog input using I2S.
# CONFIG_NRF5340_AUDIO_SD_CARD_MODULE= # Enables the SD card module (enabled by default on the nRF5340 Audio DK).
# CONFIG_SD_CARD_PLAYBACK= # Enables SD card playback functionality.
# CONFIG_SD_CARD_PLAYBACK_STACK_SIZE=4096 # Sets the stack size for the SD card playback thread (default: 4096).
# CONFIG_SD_CARD_PLAYBACK_RING_BUF_SIZE=960 # Sets the size of the ring buffer for audio data (default: 960).
# CONFIG_SD_CARD_PLAYBACK_THREAD_PRIO=7 # Sets the priority for the SD card playback thread (default: 7).
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here are the logs from the application core&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v3.1.0-6c6e5b32496e ***
*** Using Zephyr OS v4.1.99-1612683d4010 ***
GW [00:00:00.267,089] &amp;lt;wrn&amp;gt; location: Invalid location in UICR, using default location
GW [00:00:00.278,259] &amp;lt;inf&amp;gt; nrf5340_audio_dk_version: Compatible board/HW version found: 1.0.0
GW [00:00:00.313,079] &amp;lt;inf&amp;gt; sd_card: SD card volume size: 15707668480 B
GW [00:00:00.318,115] &amp;lt;inf&amp;gt; fw_info: 
         nRF5340 Audio nRF5340 Audio DK cpuapp                      
         NCS base version: 3.1.0                            
         Cmake run : Thu Sep 04 17:01:22 2025
GW [00:00:00.318,115] &amp;lt;inf&amp;gt; fw_info: ------- DEBUG BUILD -------
GW [00:00:00.318,145] &amp;lt;inf&amp;gt; fw_info: GATEWAY device
GW [00:00:02.321,990] &amp;lt;err&amp;gt; bt_hci_driver: Endpoint binding failed with -11
GW [00:00:02.321,990] &amp;lt;err&amp;gt; bt_hci_core: HCI driver open failed (-11)
GW [00:00:02.321,990] &amp;lt;err&amp;gt; main: ERR_CHK Err_code: [-11] @ line: 559
GW [00:00:02.322,021] &amp;lt;err&amp;gt; os: r0/a1:  0x00000003  r1/a2:  0x00000003  r2/a3:  0x00000002
GW [00:00:02.322,021] &amp;lt;err&amp;gt; os: r3/a4:  0x00000003 r12/ip:  0x200037c0 r14/lr:  0x0006675b
GW [00:00:02.322,021] &amp;lt;err&amp;gt; os:  xpsr:  0x09100000
GW [00:00:02.322,021] &amp;lt;err&amp;gt; os: s[ 0]:  0x20001db4  s[ 1]:  0x00066949  s[ 2]:  0x2001dea8  s[ 3]:  0x00000004
GW [00:00:02.322,052] &amp;lt;err&amp;gt; os: s[ 4]:  0x00000008  s[ 5]:  0x2001ded8  s[ 6]:  0x0004137d  s[ 7]:  0x00000000
GW [00:00:02.322,052] &amp;lt;err&amp;gt; os: s[ 8]:  0x2001dea8  s[ 9]:  0x00000000  s[10]:  0x00000008  s[11]:  0x0006698d
GW [00:00:02.322,052] &amp;lt;err&amp;gt; os: s[12]:  0x2001ded8  s[13]:  0x000798e8  s[14]:  0xfffffff5  s[15]:  0x0000022f
GW [00:00:02.322,082] &amp;lt;err&amp;gt; os: fpscr:  0x2001ded8
GW [00:00:02.322,082] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x00002e48
GW [00:00:02.322,113] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
GW [00:00:02.322,113] &amp;lt;err&amp;gt; os: Current thread: 0x20006510 (main)
GW [00:00:02.322,113] &amp;lt;err&amp;gt; error_handler: Caught system error -- reason 3. Entering infinite loop&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;There are no logs from the network core, so that might be part of the problem.&amp;nbsp; There isn&amp;#39;t a folder called &amp;quot;ipc_radio&amp;quot; in the directory, if it gets generated do those files have to be programmed separately?&amp;nbsp; Is there a different process to build for the network core as well?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jeremy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Audio DK Setup</title><link>https://devzone.nordicsemi.com/thread/547927?ContentTypeID=1</link><pubDate>Fri, 05 Sep 2025 13:20:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89d37a9f-3086-47c6-afe3-dcab5cb81bc4</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Jeremy,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not able to download your attachment. Could you share it by using the Insert-&amp;gt;Code feature? Just copy the contents of prj.conf and paste it into the pop-up box.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding your issue. It seems like the gateway device (client) gets an error shortly after booting. There could be a few reasons for this. At this point I think the most likely explanation is that the network core image is not correctly functioning. We can find out what is going wrong by looking at the logs from the boards. I suspect the error is for the network core, but it is helpful to look at the appliation core log as well. When connecting to the Audio DK on the computer, three VCOM/TTY instances show up. The application core logs are viewed on the first one and the network core logs on the second.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the network core image is built along the application, ipc_radio can be found in the build directory.&amp;nbsp;&lt;/p&gt;
[quote user=""]On reset on the client the RGB&amp;nbsp;LEDs turn solid green for about 2 seconds and then they turn red.&amp;nbsp; LED 2 starts by flashing while the RGB&amp;nbsp;LEDs are green and then LED 3 lights up when they go red.&amp;nbsp; On the Server the&amp;nbsp;LED behavior is the same except it is blue, not green.[/quote]
&lt;p&gt;An overview of what the LEDs on the Audio DK signal can be found in the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/nrf5340_audio/doc/user_interface.html"&gt;User interface&lt;/a&gt; overview in the nRF5340 Audio application documentation.&amp;nbsp;&lt;/p&gt;
[quote user=""]I don&amp;#39;t have a lot of experience with the NCS, so I might be missing something simple.[/quote]
&lt;p&gt;Consider going through the &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;nRF Connect SDK Fundamentals&lt;/a&gt;, &lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/"&gt;Bluetooth Low Energy Fundamentals&lt;/a&gt;, and &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate"&gt;nRF Connect SDK Intermediate&lt;/a&gt; courses on DevAcademy to get more familiar with nRF Connect SDK!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>