<?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>HCI UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119769/hci-uart</link><description>Hi, 
 I&amp;#39;m trying to use the HCI UART sample to provide Bluetooth support through UART. At first I want to test it between two Nordic Boards, but later switch to another MCU. 
 One first nRF52840 DK I have flashed the HCI UART sample. 
 One the second</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Apr 2025 13:18:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119769/hci-uart" /><item><title>RE: HCI UART</title><link>https://devzone.nordicsemi.com/thread/531190?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 13:18:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d4851a4-d10c-42d9-ae24-82e5b77a88d3</guid><dc:creator>pstrueb</dc:creator><description>&lt;p&gt;&amp;nbsp;Im not a sure from your post, but the error is on the hci_uart side, right? I had the same issue and could fix it by &lt;br /&gt;removing&amp;nbsp; the following line:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;		zephyr,bt-hci = &amp;amp;uart0;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I added it by mistake on the controller side in the overlay file, maybe you did so, too ?&lt;/p&gt;
&lt;p&gt;the controller should have something like&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;zephyr,bt-c2h-uart = &amp;amp;uart0;&lt;/pre&gt;&lt;br /&gt;In the overlay instead.&lt;br /&gt;&lt;br /&gt;Not sure if this is your issue, too but I thought it might be related&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Patrick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HCI UART</title><link>https://devzone.nordicsemi.com/thread/528144?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 08:21:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dd7750e-78d4-4fe8-ad49-701548388393</guid><dc:creator>Christoffer Brask</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;&amp;nbsp; Any updates?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HCI UART</title><link>https://devzone.nordicsemi.com/thread/527522?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2025 08:08:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a295f34-3155-4ea1-aab4-1f4f3828cdb1</guid><dc:creator>Christoffer Brask</dc:creator><description>&lt;p&gt;I have now tried this on both boards, but it still report the same error&lt;/p&gt;
&lt;p&gt;&amp;lt;err&amp;gt; bt_hci_core: HCI driver open failed (-1)&lt;br /&gt;Bluetooth init failed (err -1)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HCI UART</title><link>https://devzone.nordicsemi.com/thread/527477?ContentTypeID=1</link><pubDate>Sun, 16 Mar 2025 13:40:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63823949-b5f0-48fb-a010-fb4dd4f8d622</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi! You should&amp;nbsp;place RX and CTS , and TX and RTS, in different groups. (&lt;span&gt;RX and CTS&amp;nbsp;group need bias-pull-up&lt;/span&gt;)&lt;/p&gt;
&lt;p&gt;See this overlay:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	uart1_default: uart1_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_RX, 1, 1)&amp;gt;;
			        &amp;lt;NRF_PSEL(UART_CTS, 1, 4)&amp;gt;;
			bias-pull-up;
		};
		group2 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 1, 2)&amp;gt;;
			        &amp;lt;NRF_PSEL(UART_RTS, 1, 3)&amp;gt;;
		};
	};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HCI UART</title><link>https://devzone.nordicsemi.com/thread/527343?ContentTypeID=1</link><pubDate>Fri, 14 Mar 2025 10:10:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91ff6fa2-4076-44de-8eb3-72b473cdde0c</guid><dc:creator>Christoffer Brask</dc:creator><description>&lt;div&gt;Hi Siguard,&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks so far&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;HCI&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HOST&lt;/div&gt;
&lt;div&gt;RTS (1.03) -&amp;gt; CTS (P1.04)&lt;/div&gt;
&lt;div&gt;TX (P1.02) -&amp;gt; RX (P1.01)&lt;/div&gt;
&lt;div&gt;CTS (P1.04) -&amp;gt; RTS (P1.03)&lt;/div&gt;
&lt;div&gt;RX (P1.01) -&amp;gt; TX (1.02)&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I have tried adding the configs to the peripheral_hr prj.conf without any luck.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I also started playing with the reset but couldn&amp;#39;t get&amp;nbsp;bt_hci_transport_setup to be called. I assume it is called from h4_open?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;From what I hear the reset shouldn&amp;#39;t be entirely necessary, so maybe we shouldn&amp;#39;t put to much focus on that?&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HCI UART</title><link>https://devzone.nordicsemi.com/thread/527282?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 22:44:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2755d5b-1f58-48cf-a9e7-e5b591576d9b</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Christoffer Brask"]I should have&amp;nbsp;added that I have already&amp;nbsp;tried that, changing the overlay file for the nRF52840 (hci_uart) to use&amp;nbsp;UART1..[/quote]
&lt;p&gt;So what pins are you using now?&lt;/p&gt;
[quote user=""]Do the nRF52840 DK (peripheral_hr) need to be able to reset the nRF52840 DK (hci_uart)?[/quote]
&lt;p&gt;That would be more robust. We do that on the nRF9160-DK (where on-board nRF52840 can be used as a BLE Controller, and the BLE host can run on the nRF9160):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/nordic/nrf9160dk/nrf52840_reset.c"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/nordic/nrf9160dk/nrf52840_reset.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_common_0_14_0.dtsi#L20"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_common_0_14_0.dtsi#L20&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/nordic/nrf9160dk/dts/bindings/nordic%2Cnrf9160dk-nrf52840-reset.yaml"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/nordic/nrf9160dk/dts/bindings/nordic%2Cnrf9160dk-nrf52840-reset.yaml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On the device that is the BLE host, set these:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT=y
CONFIG_BT_HCI=y
CONFIG_BT_CTLR=n
CONFIG_BT_WAIT_NOP=y&lt;/pre&gt;&lt;/p&gt;
[quote user=""]I assume I should not add the&amp;nbsp;overlay-all-bt_ll_sw_split.conf when building the HCI UART sample?[/quote]
&lt;p&gt;Correct, don&amp;#39;t use&amp;nbsp;&lt;span&gt;overlay-all-bt_ll_sw_split.conf&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HCI UART</title><link>https://devzone.nordicsemi.com/thread/527186?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 13:39:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:679625a3-bcc0-41c6-9459-17fd2b96462c</guid><dc:creator>Christoffer Brask</dc:creator><description>&lt;p&gt;I should have&amp;nbsp;added that I have already&amp;nbsp;tried that, changing the overlay file for the nRF52840 (hci_uart) to use&amp;nbsp;UART1..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HCI UART</title><link>https://devzone.nordicsemi.com/thread/527181?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 13:35:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f6acd0b-d9e0-4bdc-87c8-ae26492340f4</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
[quote user=""]&lt;div&gt;RTS (0.05) -&amp;gt; CTS (P1.04)&lt;/div&gt;
&lt;div&gt;TX (P0.06) -&amp;gt; RX (P1.01)&lt;/div&gt;
&lt;div&gt;CTS (P0.07) -&amp;gt; RTS (P1.03)&lt;/div&gt;
&lt;div&gt;RX (P0.08) -&amp;gt; TX (1.02)&lt;/div&gt;[/quote]
&lt;p&gt;Pin 5,6,7,8 is connected to the&amp;nbsp;interface MCU. I suggest using some different pins for HCI.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf52840_dk/page/UG/dk/vir_com_port.html"&gt;https://docs.nordicsemi.com/bundle/ug_nrf52840_dk/page/UG/dk/vir_com_port.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>