<?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 let nRF5340 Audio DK device work as Host?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106733/how-to-let-nrf5340-audio-dk-device-work-as-host</link><description>Dear nRF team, 
 My requirement is that this device works as Host, and it can communicate with controller device through UART, so I have several questions: 
 1. How to build an Host image for this device? 
 2. Which pins are used for UART? If default</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Dec 2023 11:55:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106733/how-to-let-nrf5340-audio-dk-device-work-as-host" /><item><title>RE: How to let nRF5340 Audio DK device work as Host?</title><link>https://devzone.nordicsemi.com/thread/461266?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2023 11:55:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e243ebc7-45e3-4d1a-a6a9-a01993d5f9ae</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi John&lt;/p&gt;
&lt;p&gt;You could try to disable drift compensation and presentation compensation &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/2bcab5702c5df788b3041803c7d460cfe521b92a/applications/nrf5340_audio/src/audio/audio_datapath.c#L1019-L1020"&gt;here&lt;/a&gt; in order to disable the synchronization feature. Simply update these two lines of code in audio_datapath.c to set the fields false rather than true.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is likely to introduce artifacts in the audio, but that might be acceptable for your testing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding running the host only on the nRF53 this has never been tested for audio applications, but there is some general information &lt;a href="https://docs.zephyrproject.org/latest/connectivity/bluetooth/bluetooth-arch.html#build-types"&gt;here&lt;/a&gt; about how to run the Bluetooth host only. Just navigate to the chapter called &amp;quot;Host-only build&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to let nRF5340 Audio DK device work as Host?</title><link>https://devzone.nordicsemi.com/thread/460961?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 07:42:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7db3191e-9192-4313-8953-1c76c8b2bdc1</guid><dc:creator>John81</dc:creator><description>&lt;p&gt;Hi &lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your reply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As I have a LE audio controller device, and I want to test music and call functions on it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I found v2.5.0 had hci_uart project, as you know we can test music and call function by hci uart on classic BT, so I suppose whether I can test LE Audio by hci uart.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So is there any other methods to let it work? any suggests are grateful.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;John&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to let nRF5340 Audio DK device work as Host?</title><link>https://devzone.nordicsemi.com/thread/460957?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 07:15:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34653e3a-f42d-4f3b-885c-740245aedb7c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi John&lt;/p&gt;
&lt;p&gt;Is there any particular reason why you need to split the controller and host between two nRF5340 devices? With its dual core design the nRF5340 is optimized to run the controller on the network core and the host on the application core.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For regular Bluetooth LE applications it should be possible to split the controller and host between two physical devices like you describe, but unfortunately LE Audio is a bit different in that the controller and host needs very accurate synchronization in time in order to tune the&amp;nbsp;audio clock on the receiver to the clock of the transmitter (to avoid audio buffer overrun or underrun).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In our solution this is handled by synchronizing the RTC counters in the network core and application core using the DPPI controller, and this system is not easy to adapt to a solution where the host and controller resides on different devices.&lt;/p&gt;
&lt;p&gt;If you can provide more information about your product and why you need to split the host and controller between two devices I will see if I can find any solution or workaround.&amp;nbsp;&amp;nbsp; &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: How to let nRF5340 Audio DK device work as Host?</title><link>https://devzone.nordicsemi.com/thread/460950?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 06:23:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c7bd088-fc51-48c2-8f67-50b5a1fcde00</guid><dc:creator>John81</dc:creator><description>&lt;p&gt;Dear Team,&lt;/p&gt;
&lt;p&gt;I have generated a hci uart hex file successfully following steps in&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91858/one-of-nrf5340-audio-dk-not-working-at-1m-hci-uart"&gt;One of nRF5340 audio DK not working at 1M hci uart - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and uart1 works as HCI UART, which pins are p1.08, p1.09, p1.10 and p1.11.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But I am not sure how to test these functions below with a LE Audio Controller device connected by HCI UART:&lt;/p&gt;
&lt;p&gt;1. Music through CIS with Mobile Phone that supports LE Audio.&lt;/p&gt;
&lt;p&gt;2. Call through CIS with &lt;span&gt;Mobile Phone that supports LE Audio.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;3. Music through BIS with &lt;span&gt;Mobile Phone that supports LE Audio&lt;/span&gt;? If the phone doesn&amp;#39;t support, with bluez or others ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Would you please give me some advices? Thanks!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to let nRF5340 Audio DK device work as Host?</title><link>https://devzone.nordicsemi.com/thread/460942?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 03:19:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d49297b-a6aa-43db-b39d-0bb99511514d</guid><dc:creator>John81</dc:creator><description>&lt;p&gt;BTW, UART mentioned in Q2 and Q3 is HCI UART.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>