<?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>Split Host Controller changes from NCS 1.x to 2.x</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120147/split-host-controller-changes-from-ncs-1-x-to-2-x</link><description>Hello, my application is running on a custom board. The BLE Host is on an nRF9160, the BLE Controller is on an nRF52820, and the SoCs are connected via UART. On my original application, images for both SoCs were built using NCS 1.7.0. I&amp;#39;m attempting to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Mar 2025 22:40:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120147/split-host-controller-changes-from-ncs-1-x-to-2-x" /><item><title>RE: Split Host Controller changes from NCS 1.x to 2.x</title><link>https://devzone.nordicsemi.com/thread/529392?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 22:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68085494-54e8-4e65-898a-57837523f04c</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Does the setup work at all if you flash a NCS v2.4.2&amp;nbsp;version of the HCI application on the nRF52820?&lt;/p&gt;
&lt;p&gt;I mentioned CONFIG_BT_HCI_VS for general mixed SDK version setup. Right now, I think the problem is more likely communication, so it and CONFIG_BT_HCI_VS_EXT won&amp;#39;t be relevant yet. Sorry, I should be clearer on this.&lt;/p&gt;
&lt;p&gt;Could you please also check if CONFIG_BT_WAIT_NOP is set in both the nRF52820 and the nRF9160&amp;nbsp;application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Split Host Controller changes from NCS 1.x to 2.x</title><link>https://devzone.nordicsemi.com/thread/529074?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 13:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:576d4a9d-a820-46e1-8045-c11f852d50c4</guid><dc:creator>esisk</dc:creator><description>&lt;p&gt;In the VERSION file in my /nrf directory, the listed version is 2.4.2. Yeah possibly a terminal error. I never knowingly enabled LPUART, but it may have been accidentally enabled when I had to upgrade my board file. This is the pin control definition for the board used in the 9160 app:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;    /* configuration for uart0 device, default state */
    uart0_default: uart0_default {
      /* group 1 (&amp;#39;group1&amp;#39; name is arbitrary) */
      group1 {
        psels = &amp;lt;NRF_PSEL(UART_TX, 0, 29)&amp;gt;, &amp;lt;NRF_PSEL(UART_RTS, 0, 24)&amp;gt;;
      };
      /* group 2 */
      group2 {
        psels = &amp;lt;NRF_PSEL(UART_RX, 0, 28)&amp;gt;, &amp;lt;NRF_PSEL(UART_CTS, 0, 26)&amp;gt;;
        // bias-pull-up;
      };
    };
    /* configuration for uart0 device, sleep state */
    uart0_sleep: uart0_sleep {
      /* group 1 (&amp;#39;group1&amp;#39; name is arbitrary) */
      group1 {
        psels = &amp;lt;NRF_PSEL(UART_TX, 0, 29)&amp;gt;, &amp;lt;NRF_PSEL(UART_RTS, 0, 24)&amp;gt;,
                &amp;lt;NRF_PSEL(UART_RX, 0, 28)&amp;gt;, &amp;lt;NRF_PSEL(UART_CTS, 0, 26)&amp;gt;;
        /* all pins are configured in low power mode */
        low-power-enable;
      };
    };&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, I see that the options CONFIG_UART_ASYNC_API and CONFIG_NRF_SW_LPUART_INT_DRIVEN are not set in my .config file in my build directory. The 52820 build doesn&amp;#39;t have these options set either.&lt;/p&gt;
&lt;p&gt;I set CONFIG_BT_HCI_VS=n and CONFIG_BT_HCI_VS_EXT=n and I&amp;#39;m still seeing the same problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Split Host Controller changes from NCS 1.x to 2.x</title><link>https://devzone.nordicsemi.com/thread/529038?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 12:03:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2612fd37-b976-4a23-b0e2-d6fe546dc86b</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi esisk,&lt;/p&gt;
[quote user=""]- Could someone help me diagnose the problem I&amp;#39;m having? Seems like a buffer is overflowing or there is not enough buffer space to send/receive the data I need. I don&amp;#39;t know why that problem would show up since on the old NCS version everything would send just fine.[/quote]
&lt;p&gt;Are you certain the log is from NCS v2.4.2? I can&amp;#39;t find anywhere in v2.4.2 that produce that exact log. The closest is this spot&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.3.99-ncs1-1/subsys/bluetooth/host/hci_raw.c#L139-L141"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.3.99-ncs1-1/subsys/bluetooth/host/hci_raw.c#L139-L141&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Perhaps some terminal error added a colon between &amp;quot;H&amp;quot; and &amp;quot;4.&amp;quot; Assuming that, it seems there is an issue with the connection between the host and the controller.&lt;/p&gt;
&lt;p&gt;Could you please check what protocols each of them is using? I suspect one is using UART and the other is using &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/drivers/uart_nrf_sw_lpuart.html"&gt;LPUART&lt;/a&gt;.&lt;/p&gt;
[quote user=""]- Is it bad practice to have my 9160 app running with NCS 2.4.2 and the 52820 app running with NCS 1.7.0?[/quote]
&lt;p&gt;We generally recommend using the&amp;nbsp;Host and Controller from the same SDK version to ensure compatibility. While using Host and Controller from different releases, there is a high chance of incompatible due to change vendor-specific commands. Please try to at least disable&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.4.2/page/kconfig/index.html#CONFIG_BT_HCI_VS"&gt;CONFIG_BT_HCI_VS&lt;/a&gt;&amp;nbsp;to prevent this. It&amp;#39;s preferred to avoid this situation completely.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>