<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MAYA W2 module Bluetooth Timeout issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MAYA-W2-module-Bluetooth-Timeout-issue/m-p/2107061#M237774</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;We are trying to bring up the IW612 based Wifi bluetooth module from MAYA with IMX8MP based board.&lt;/P&gt;&lt;P&gt;We were successfully able to bring-up the Wi-Fi we are having issues with bluetooth.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;While the Bluetooth functionality works correctly when RTS/CTS flow control is not used, I encounter issues when enabling RTS/CTS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Specifically, when I connect the RTS and CTS pins between the host and the module, Bluetooth initialization fails with opcode timeouts and TX errors.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@verdin-imx8mp-15460290:~# modprobe btnxpuart                                                   
[   42.127549] wlan: SCAN COMPLETED: scanned AP count=17
root@verdin-imx8mp-15460290:~# [   42.439851] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   42.445247] Bluetooth: BNEP socket layer initialized
[   43.266730] Bluetooth: hci0: FW already running.
[   45.315028] Bluetooth: hci0: Opcode 0x0c03 failed: -110
[   47.330733] Bluetooth: hci0: Setting baudrate failed (-110)
root@verdin-imx8mp-15460290:~# 
root@verdin-imx8mp-15460290:~# [   49.346732] Bluetooth: hci0: Setting wake-up method failed (-110)
[   51.362750] Bluetooth: hci0: Setting Power Save mode failed (-110)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;Interestingly, if I&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ground the CTS pin on the Bluetooth module&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;leave the RTS pin unconnected&lt;/STRONG&gt;&lt;SPAN&gt;, the module initializes correctly and basic functionality appears to work. However, when I attempt to scan for nearby Bluetooth devices, the following errors occur:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@verdin-imx8mp-15460290:~# hciconfig 
hci0:   Type: Primary  Bus: UART
        BD Address: 20:BA:36:56:BB:E0  ACL MTU: 1021:7  SCO MTU: 120:6
        UP RUNNING PSCAN 
        RX bytes:902 acl:0 sco:0 events:65 errors:0
        TX bytes:1610 acl:0 sco:0 commands:64 errors:0
root@verdin-imx8mp-15460290:~# bluetoothctl 
hci0 new_settings: powered bondable ssp br/edr le secure-conn cis-central cis-p
Agent registered
[CHG] Controller 20:BA:36:56:BB:E0 Pairable: yes
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# scan on
SetDiscoveryFilter success
hci0 type 7 discovering on
Discovery started
[CHG] Controller 20:BA:36:56:BB:E0 Discovering: yes
[bluetooth]# [  139.054737] Bluetooth: hci0: Frame reassembly failed (-84)
[NEW] Device 44:A1:70:C1:74:43 44-A1-70-C1-74-43
[bluetooth]# [  139.836671] Bluetooth: hci0: Frame reassembly failed (-84)
[  139.842218] Bluetooth: hci0: Frame reassembly failed (-84)
[CHG] Device 4F:03:41:6A:A2:92 RSSI: 0xffffffaa (-86)
[bluetooth]# [  139.985060] Bluetooth: hci0: Frame reassembly failed (-84)
[NEW] Device 36:D2:3A:FC:99:05 36-D2-3A-FC-99-05
[bluetooth]# [  140.125421] Bluetooth: hci0: Frame reassembly failed (-84)
[  140.167024] Bluetooth: hci0: Frame reassembly failed (-84)
[  140.177003] Bluetooth: hci0: Frame reassembly failed (-84)&lt;/LI-CODE&gt;&lt;P&gt;My DTS node looks like this:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;uart1 {
         pinctrl-names = "default";
         pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart1&amp;gt;;
        status = "okay"; 
        assigned-clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_UART1&amp;gt;;
        assigned-clock-parents = &amp;lt;&amp;amp;clk IMX8MP_SYS_PLL1_80M&amp;gt;;
        uart-has-rtscts;
       bluetooth {
              compatible = "nxp,88w8987-bt";
             fw-init-baudrate = &amp;lt;115200&amp;gt;;
             status = "okay";
       };
};
 &amp;amp;iomuxc {
 pinctrl_uart1: uart1grp {
         fsl,pins =
                 &amp;lt;MX8MP_IOMUXC_SAI2_RXD0__UART1_DCE_RTS          0x1c4&amp;gt;, /* SODIMM 135 */
                 &amp;lt;MX8MP_IOMUXC_SAI2_TXFS__UART1_DCE_CTS          0x1c4&amp;gt;, /* SODIMM 133 */
                 &amp;lt;MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX           0x1c4&amp;gt;, /* SODIMM 129 */
                 &amp;lt;MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX           0x1c4&amp;gt;; /* SODIMM 131 */
 };
};&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;My hardware connection are as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HOST SIDE (IMX8MP) MODULE SIDE (MAYA W2)&lt;/P&gt;&lt;TABLE border="1" width="78.60001601808706%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;&lt;SPAN&gt;UART1_TX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;&lt;SPAN&gt;UART_RX&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;&lt;SPAN&gt;UART1_RX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;&lt;SPAN&gt;UART_TX&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;UART1_CTS&lt;/TD&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;UART_RTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;UART1_RTS&lt;/TD&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;UART_CTS&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;reversing the RTS and CTS connections&lt;/STRONG&gt;, but there was no change in behaviour.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What could be causing this failure when RTS/CTS is enabled?&lt;/LI&gt;&lt;LI&gt;What configuration or hardware checks would you recommend to ensure proper RTS/CTS operation?&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Thu, 29 May 2025 09:50:29 GMT</pubDate>
    <dc:creator>pratham_malaviya</dc:creator>
    <dc:date>2025-05-29T09:50:29Z</dc:date>
    <item>
      <title>MAYA W2 module Bluetooth Timeout issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MAYA-W2-module-Bluetooth-Timeout-issue/m-p/2107061#M237774</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;We are trying to bring up the IW612 based Wifi bluetooth module from MAYA with IMX8MP based board.&lt;/P&gt;&lt;P&gt;We were successfully able to bring-up the Wi-Fi we are having issues with bluetooth.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;While the Bluetooth functionality works correctly when RTS/CTS flow control is not used, I encounter issues when enabling RTS/CTS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Specifically, when I connect the RTS and CTS pins between the host and the module, Bluetooth initialization fails with opcode timeouts and TX errors.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@verdin-imx8mp-15460290:~# modprobe btnxpuart                                                   
[   42.127549] wlan: SCAN COMPLETED: scanned AP count=17
root@verdin-imx8mp-15460290:~# [   42.439851] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   42.445247] Bluetooth: BNEP socket layer initialized
[   43.266730] Bluetooth: hci0: FW already running.
[   45.315028] Bluetooth: hci0: Opcode 0x0c03 failed: -110
[   47.330733] Bluetooth: hci0: Setting baudrate failed (-110)
root@verdin-imx8mp-15460290:~# 
root@verdin-imx8mp-15460290:~# [   49.346732] Bluetooth: hci0: Setting wake-up method failed (-110)
[   51.362750] Bluetooth: hci0: Setting Power Save mode failed (-110)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;Interestingly, if I&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ground the CTS pin on the Bluetooth module&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;leave the RTS pin unconnected&lt;/STRONG&gt;&lt;SPAN&gt;, the module initializes correctly and basic functionality appears to work. However, when I attempt to scan for nearby Bluetooth devices, the following errors occur:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@verdin-imx8mp-15460290:~# hciconfig 
hci0:   Type: Primary  Bus: UART
        BD Address: 20:BA:36:56:BB:E0  ACL MTU: 1021:7  SCO MTU: 120:6
        UP RUNNING PSCAN 
        RX bytes:902 acl:0 sco:0 events:65 errors:0
        TX bytes:1610 acl:0 sco:0 commands:64 errors:0
root@verdin-imx8mp-15460290:~# bluetoothctl 
hci0 new_settings: powered bondable ssp br/edr le secure-conn cis-central cis-p
Agent registered
[CHG] Controller 20:BA:36:56:BB:E0 Pairable: yes
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# scan on
SetDiscoveryFilter success
hci0 type 7 discovering on
Discovery started
[CHG] Controller 20:BA:36:56:BB:E0 Discovering: yes
[bluetooth]# [  139.054737] Bluetooth: hci0: Frame reassembly failed (-84)
[NEW] Device 44:A1:70:C1:74:43 44-A1-70-C1-74-43
[bluetooth]# [  139.836671] Bluetooth: hci0: Frame reassembly failed (-84)
[  139.842218] Bluetooth: hci0: Frame reassembly failed (-84)
[CHG] Device 4F:03:41:6A:A2:92 RSSI: 0xffffffaa (-86)
[bluetooth]# [  139.985060] Bluetooth: hci0: Frame reassembly failed (-84)
[NEW] Device 36:D2:3A:FC:99:05 36-D2-3A-FC-99-05
[bluetooth]# [  140.125421] Bluetooth: hci0: Frame reassembly failed (-84)
[  140.167024] Bluetooth: hci0: Frame reassembly failed (-84)
[  140.177003] Bluetooth: hci0: Frame reassembly failed (-84)&lt;/LI-CODE&gt;&lt;P&gt;My DTS node looks like this:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;uart1 {
         pinctrl-names = "default";
         pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart1&amp;gt;;
        status = "okay"; 
        assigned-clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_UART1&amp;gt;;
        assigned-clock-parents = &amp;lt;&amp;amp;clk IMX8MP_SYS_PLL1_80M&amp;gt;;
        uart-has-rtscts;
       bluetooth {
              compatible = "nxp,88w8987-bt";
             fw-init-baudrate = &amp;lt;115200&amp;gt;;
             status = "okay";
       };
};
 &amp;amp;iomuxc {
 pinctrl_uart1: uart1grp {
         fsl,pins =
                 &amp;lt;MX8MP_IOMUXC_SAI2_RXD0__UART1_DCE_RTS          0x1c4&amp;gt;, /* SODIMM 135 */
                 &amp;lt;MX8MP_IOMUXC_SAI2_TXFS__UART1_DCE_CTS          0x1c4&amp;gt;, /* SODIMM 133 */
                 &amp;lt;MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX           0x1c4&amp;gt;, /* SODIMM 129 */
                 &amp;lt;MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX           0x1c4&amp;gt;; /* SODIMM 131 */
 };
};&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;My hardware connection are as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HOST SIDE (IMX8MP) MODULE SIDE (MAYA W2)&lt;/P&gt;&lt;TABLE border="1" width="78.60001601808706%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;&lt;SPAN&gt;UART1_TX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;&lt;SPAN&gt;UART_RX&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;&lt;SPAN&gt;UART1_RX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;&lt;SPAN&gt;UART_TX&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;UART1_CTS&lt;/TD&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;UART_RTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;UART1_RTS&lt;/TD&gt;&lt;TD width="49.917898193760266%" height="24px"&gt;UART_CTS&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;reversing the RTS and CTS connections&lt;/STRONG&gt;, but there was no change in behaviour.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What could be causing this failure when RTS/CTS is enabled?&lt;/LI&gt;&lt;LI&gt;What configuration or hardware checks would you recommend to ensure proper RTS/CTS operation?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 29 May 2025 09:50:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MAYA-W2-module-Bluetooth-Timeout-issue/m-p/2107061#M237774</guid>
      <dc:creator>pratham_malaviya</dc:creator>
      <dc:date>2025-05-29T09:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: MAYA W2 module Bluetooth Timeout issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MAYA-W2-module-Bluetooth-Timeout-issue/m-p/2107297#M237782</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/235882"&gt;@pratham_malaviya&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What BSP version are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try using the next values?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt; pinctrl_uart1: uart1grp {
         fsl,pins =
                 &amp;lt;MX8MP_IOMUXC_SAI2_RXD0__UART1_DCE_RTS          0x140&amp;gt;, /* SODIMM 135 */
                 &amp;lt;MX8MP_IOMUXC_SAI2_TXFS__UART1_DCE_CTS          0x140&amp;gt;, /* SODIMM 133 */
                 &amp;lt;MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX           0x140&amp;gt;, /* SODIMM 129 */
                 &amp;lt;MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX           0x140&amp;gt;; /* SODIMM 131 */
 };&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remember that you have to install the wifi (&lt;STRONG&gt;modprobe moal mod_para=nxp/wifi_mod_para.conf&lt;/STRONG&gt;) drivers before to insert the&amp;nbsp;&lt;STRONG&gt;btnxpuart&amp;nbsp;&lt;/STRONG&gt;module.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 16:17:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MAYA-W2-module-Bluetooth-Timeout-issue/m-p/2107297#M237782</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2025-05-29T16:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: MAYA W2 module Bluetooth Timeout issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MAYA-W2-module-Bluetooth-Timeout-issue/m-p/2107792#M237792</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206761"&gt;@Chavira&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your response,&lt;/P&gt;&lt;P&gt;What BSP version are you using?&lt;/P&gt;&lt;P&gt;--I am using linux kernel version 6.6.74.&lt;/P&gt;&lt;P&gt;Can you try using the next values?&lt;/P&gt;&lt;P&gt;-- I have tried this but i am having the same OP code failure error.&lt;/P&gt;&lt;P&gt;Error log:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@verdin-imx8mp-15460290:~# modprobe btnxpuart
[   38.966015] wlan: SCAN COMPLETED: scanned AP count=8
[   38.980544] wlan: mlan0 START SCAN
root@verdin-imx8mp-15460290:~# [   40.376824] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   40.382218] Bluetooth: BNEP socket layer initialized
[   41.186982] Bluetooth: hci0: FW already running.
[   43.234989] Bluetooth: hci0: Opcode 0x0c03 failed: -110
[   44.843967] wlan: SCAN COMPLETED: scanned AP count=12
[   45.250972] Bluetooth: hci0: Setting baudrate failed (-110)
[   47.267007] Bluetooth: hci0: Setting wake-up method failed (-110)
[   49.282970] Bluetooth: hci0: Setting Power Save mode failed (-110)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 30 May 2025 07:37:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MAYA-W2-module-Bluetooth-Timeout-issue/m-p/2107792#M237792</guid>
      <dc:creator>pratham_malaviya</dc:creator>
      <dc:date>2025-05-30T07:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: MAYA W2 module Bluetooth Timeout issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MAYA-W2-module-Bluetooth-Timeout-issue/m-p/2108165#M237801</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;The NXP Bluetooth Serial driver can run standalone, so it is OK to only issue modprobe btnxpuart.&lt;BR /&gt;&lt;BR /&gt;1. I assume you are using a custom board based on the iMX8MP, can you confirm?&lt;BR /&gt;2. Could you please try with fw-init-baudrate=3000000 (just because this is the one I tried)?&lt;BR /&gt;4. Are you able to see with an external device like a logic analyzer the RTS and CTS communication?&lt;BR /&gt;5. I did a test on my side using the iMX8MP-EVK and the 2EL module, and it is working on my side. I just changed the default dtb. You can take a look to the one I used in the iMX8MP &lt;A href="https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX" target="_blank" rel="noopener"&gt;BSP&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel.&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 17:12:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MAYA-W2-module-Bluetooth-Timeout-issue/m-p/2108165#M237801</guid>
      <dc:creator>DanielRuvalcaba</dc:creator>
      <dc:date>2025-05-30T17:12:30Z</dc:date>
    </item>
  </channel>
</rss>

