<?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 custom board ble driver,hci error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119334/nrf5340-custom-board-ble-driver-hci-error</link><description>I am developing on a custom nRF5340 board, but I encountered a BLE-related error. To troubleshoot, I built and flashed the basic example peripheral_uart , but the following error message appeared. I am unsure where to start checking. Could you provide</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Feb 2025 09:37:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119334/nrf5340-custom-board-ble-driver-hci-error" /><item><title>RE: nrf5340 custom board ble driver,hci error</title><link>https://devzone.nordicsemi.com/thread/525008?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 09:37:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1537b8b4-3ab3-4a92-9a41-ce6bcde496f0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You only need to select&amp;nbsp;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&amp;nbsp; in the app core and net core FW images.&amp;nbsp;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y and CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y are seleced by default when the RC ocialltor is enabled.&lt;/span&gt;&lt;/p&gt;
[quote user="giun.kim"]2. As shown in the captured image, I am modifying the &lt;strong&gt;overlay-bt_hci_ipc_conf&lt;/strong&gt; file locally, but I don’t want to change the local files directly. Instead, I want to manage the modified elements separately. Is there a way to do this?[/quote]
&lt;p&gt;Ideally you should change the default LF clock source in the board file like for this board &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/26a403d629f0d756b5af8732a690f1408ea6391d/boards/arm/pan1783_evb/pan1783_evb_cpunet_defconfig#L17"&gt;here&lt;/a&gt; and &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/26a403d629f0d756b5af8732a690f1408ea6391d/boards/arm/pan1783_evb/pan1783_evb_cpuapp_defconfig#L24"&gt;here&lt;/a&gt;. This ensures that the correct clock source is always is selected when you build a project. However, this is only if you have defined your own board. If you are using the nRF5340 DK as your build target, then you have to use overlays to change the clock source. Configuration changes to hci_ipc can be applied by creating a &amp;quot;sysbuild&amp;quot; folder like here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v2.8.0/samples/bluetooth/throughput/sysbuild/ipc_radio"&gt;https://github.com/nrfconnect/sdk-nrf/tree/v2.8.0/samples/bluetooth/throughput/sysbuild/ipc_radio&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 custom board ble driver,hci error</title><link>https://devzone.nordicsemi.com/thread/524938?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 23:48:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36131a4d-62e2-4849-b216-8315e9cda368</guid><dc:creator>giun.kim</dc:creator><description>&lt;p&gt;Thank you for your quick response. When I specify the configuration in both the net and app cores as shown below, it works. I have an additional question.&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&lt;/p&gt;
&lt;div class="flex max-w-full flex-col flex-grow"&gt;
&lt;div dir="auto" data-message-author-role="assistant" data-message-id="9e7c2c43-a2a1-43c5-97e2-5bae993e7c89" data-message-model-slug="gpt-4o"&gt;
&lt;div&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert dark"&gt;
&lt;p data-start="0" data-end="79" data-is-last-node="" data-is-only-node=""&gt;Do I need to specify the following configuration in both the net and app cores?&lt;/p&gt;
&lt;p data-start="0" data-end="79" data-is-last-node="" data-is-only-node=""&gt;CONFIG_SOC_ENABLE_LFXO=n CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;2. As shown in the captured image, I am modifying the &lt;strong data-start="206" data-end="233"&gt;overlay-bt_hci_ipc_conf&lt;/strong&gt; file locally, but I don&amp;rsquo;t want to change the local files directly. Instead, I want to manage the modified elements separately. Is there a way to do this?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/_A4C26CD0B0B9F7C0_-2025_2D00_02_2D00_27-084723.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 custom board ble driver,hci error</title><link>https://devzone.nordicsemi.com/thread/524915?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 17:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:428041e8-2f7d-4671-a2d4-ad2ddecfe831</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The first 2 errors indicate that the Bluetooth host is&amp;nbsp;unable to communicate with the Bluetooth controller on the network core. The last one is about the QSPI flash NOR driver&amp;nbsp;failing to read the ID of&amp;nbsp;the external QSPI flash IC (&lt;strong&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf5340_dk/page/UG/dk/hw_external_memory.html"&gt;External memory&lt;/a&gt;&lt;/strong&gt;), but this can be ignored for now as it is not used by&amp;nbsp;this sample.&amp;nbsp;Does your board include the optional 32KHz crystal, and if not, have you made sure to select the internal RC oscillator as your LF clock source both on the app and network core?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>