<?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>NXP Designs中的主题 STM32L4 having BTstack integrated specific to nxp chipset is having transport layer issues</title>
    <link>https://community.nxp.com/t5/NXP-Designs/STM32L4-having-BTstack-integrated-specific-to-nxp-chipset-is/m-p/1842431#M1121</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using the STM32L4 series of controllers which has the BTstack integrated from the BlueKichen. This controller is used to communicate with the CMP530&amp;nbsp;BLE chip which is running on a specific firmware suggested by its chip vendor (CEL).&amp;nbsp;Both the chips are communicating over the UART.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I execute the code in STM with the logs enabled, I can see the below operations performing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enabled BLE power&lt;BR /&gt;Init the memory of bt stack&lt;BR /&gt;BTStack Run loop complete&lt;BR /&gt;HCI dump init done&lt;BR /&gt;HCI init done&lt;BR /&gt;HCI set chipset as NXP&lt;BR /&gt;Inside BT stack main&lt;BR /&gt;Event Callback named 'package handler' registered&lt;BR /&gt;Added event handler&lt;BR /&gt;hci_power_control: 1, current mode 0&lt;BR /&gt;state - HCI_STATE_OFF&lt;BR /&gt;Creating internal event&lt;BR /&gt;BTSTACK_EVENT_STATE 1&lt;BR /&gt;[00:00:00.787] EVT &amp;lt;= 60 01 01&lt;BR /&gt;Packet handler state = 0&lt;BR /&gt;Inside INIT&lt;BR /&gt;get state = 01&lt;BR /&gt;HCI packet state = HCI_STATE_INITIALIZING&lt;BR /&gt;hci_initializing_run: substate 0, can send 1&lt;BR /&gt;[00:00:00.806] CMD =&amp;gt; 03 0C 00&lt;BR /&gt;Powered up the HCI&lt;BR /&gt;hci_transport_h4: invalid packet type 0x00&lt;BR /&gt;Resend HCI Reset&lt;BR /&gt;hci_initializing_run: substate 0, can send 0&lt;BR /&gt;hci_can_send_command_packet_now failed&lt;/P&gt;&lt;P&gt;From the above logs, it seems like the Transport layer of HCI is not successfully up due to which any packets being sent further are showing the error as above.&lt;/P&gt;&lt;P&gt;As a part of the initial debugging check, I have verified the UART configuration for STM32 on which both chips will communicate. The baud rate is set to 115200 for HCI communication over the UART.&lt;/P&gt;&lt;P&gt;Can anyone please help us to understand what can be the possible reasons behind this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vidhi V.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2024 12:41:13 GMT</pubDate>
    <dc:creator>Vidhi_V</dc:creator>
    <dc:date>2024-04-08T12:41:13Z</dc:date>
    <item>
      <title>STM32L4 having BTstack integrated specific to nxp chipset is having transport layer issues</title>
      <link>https://community.nxp.com/t5/NXP-Designs/STM32L4-having-BTstack-integrated-specific-to-nxp-chipset-is/m-p/1842431#M1121</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using the STM32L4 series of controllers which has the BTstack integrated from the BlueKichen. This controller is used to communicate with the CMP530&amp;nbsp;BLE chip which is running on a specific firmware suggested by its chip vendor (CEL).&amp;nbsp;Both the chips are communicating over the UART.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I execute the code in STM with the logs enabled, I can see the below operations performing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enabled BLE power&lt;BR /&gt;Init the memory of bt stack&lt;BR /&gt;BTStack Run loop complete&lt;BR /&gt;HCI dump init done&lt;BR /&gt;HCI init done&lt;BR /&gt;HCI set chipset as NXP&lt;BR /&gt;Inside BT stack main&lt;BR /&gt;Event Callback named 'package handler' registered&lt;BR /&gt;Added event handler&lt;BR /&gt;hci_power_control: 1, current mode 0&lt;BR /&gt;state - HCI_STATE_OFF&lt;BR /&gt;Creating internal event&lt;BR /&gt;BTSTACK_EVENT_STATE 1&lt;BR /&gt;[00:00:00.787] EVT &amp;lt;= 60 01 01&lt;BR /&gt;Packet handler state = 0&lt;BR /&gt;Inside INIT&lt;BR /&gt;get state = 01&lt;BR /&gt;HCI packet state = HCI_STATE_INITIALIZING&lt;BR /&gt;hci_initializing_run: substate 0, can send 1&lt;BR /&gt;[00:00:00.806] CMD =&amp;gt; 03 0C 00&lt;BR /&gt;Powered up the HCI&lt;BR /&gt;hci_transport_h4: invalid packet type 0x00&lt;BR /&gt;Resend HCI Reset&lt;BR /&gt;hci_initializing_run: substate 0, can send 0&lt;BR /&gt;hci_can_send_command_packet_now failed&lt;/P&gt;&lt;P&gt;From the above logs, it seems like the Transport layer of HCI is not successfully up due to which any packets being sent further are showing the error as above.&lt;/P&gt;&lt;P&gt;As a part of the initial debugging check, I have verified the UART configuration for STM32 on which both chips will communicate. The baud rate is set to 115200 for HCI communication over the UART.&lt;/P&gt;&lt;P&gt;Can anyone please help us to understand what can be the possible reasons behind this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vidhi V.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 12:41:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/STM32L4-having-BTstack-integrated-specific-to-nxp-chipset-is/m-p/1842431#M1121</guid>
      <dc:creator>Vidhi_V</dc:creator>
      <dc:date>2024-04-08T12:41:13Z</dc:date>
    </item>
  </channel>
</rss>

