This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PAN1326 BT not responding

Other Parts Discussed in Thread: MSP430F5438A, CC2564

Dear All,

     We have used PAN1326 BT module with MSP430F5438A. We are using Stonestreet One SPP Bluetopia stack. PAN1326 BT module is not responding midway while downloading the Patch to the PAN1326 module.  HCI_Send_Raw_Command returning -14 errror( BTPS_ERROR_HCI_DRIVER_ERROR)  and then HCITR_COMClose function getting called  and it shutdown the PAN1326 BT module.
     I have verified PAN1326 BT module using CC256x Bluettoth Hardware evaluation tool to load the Bluettooth  service pack bluetooth_init_cc2564_2.12.bts into PAN1326 successfully, and verified all the RF testing mode successfully. I have checked the UART interface  With sniffer to monitor both Rx & Tx line.  We came to know that The PAN 1326 module hasnot responded to the last send command by the microcontroller to the PAN1326. The UART interface is propper.

     
        We are facing this issue with 4 devices out of 20 devices.   I am not understanding what the issue is.

Please reply me ASAP. Thanks in advance.

Regards,
Bhairu

  • Hi,

    It is strange that, that it is working with few devices and others are not.
    Are all the devices, same? could you please read the local version information and see? Is the set up same for all the Devices?

    We usually get BTPS_ERROR_HCI_DRIVER_ERROR, when the UART is not configured correctly. hope

    Make sure your jumper setting are correct on MSP-EXP430F5438A.
    see http://processors.wiki.ti.com/index.php/CC256x_MSP430_Bluetopia_Basic_Demo_APPS#Hardware_Setup.
    --> If "HCI_Read_Local_Version_Information" is same for the devices and the setup is also same, and still face the problem try removing Jumper 4.
  • Hi Sundeep,

                           Sorry for delayed response. I was busy with other project. Now I have started working on this issue. I have downloaded bluetooth_init_cc2564_2.12.bts patch into PAN1326 BT module successfully with the help of CC256x Bluetooth hardware evaluation tool, but I didnot got "HCI_Read_Local_version_Information". 

              Please tell me how can I get ' HCI_Read_Local_version_Information"?.

                            Logger tool is not publically available to test the BT module by reading the messages from the TX_DEBUG port. Please Email me the Logger tool  download link at bhairu@cardiacdesignlabs.com.

    Thanks and Regards,

    Bhairu

  • Hi Sandeep,

                        Thank you very much for needful information. I have attached the logs taken from TX debug pin of BT module.  But I am still not understanding why the Communication is breaking between BT module & controller.

    Logger_BTLogs.rar

           PFA. and reply me at the earliest, what could be the issue is ?.

    Thanks and Regards,

    Bhairu

  • Hi,

    Thanks for the logs.

    Are you sure you are using PAN1326, as I see from the logs you provide that the Chip version is 4, But it should be 6.
    Could you please read the local version information using the HCI tester which is part of the wireless tools I have provided.
  • Dear Sandeep,

              The following are the results of "HCI_Read_Local_Version_Information" function.

    BluetoothStackID : 0x01

    StatusResult : 0x00
    HCI Version : 0x06
    HCI Revision : 0x0000
    LMP Version : 0x06
    Manufacturer Name : 0x000D
    LMP SubVersion : 0x1B0F         

               The  Chip Version : 4, which is mentioned in earlier post is a device chipset Version  .  To get device chipset Version the following function is used.

    if(!HCI_Version_Supported(BluetoothStackID, &HCIVersion))
    Display(("Device Chipset: %s\r\n", (HCIVersion <= NUM_SUPPORTED_HCI_VERSIONS)?HCIVersionStrings[HCIVersion]:HCIVersionStrings[NUM_SUPPORTED_HCI_VERSIONS]));

    Result: Device Chipset: 4.0 

                   Please reply me as soon as possible what could be the issue is?

    Thanks and Regards,

    Bhairu

  • Hi Bhairu,

    I reviewed the firmware logs, and I could see that the fw download has stopped in between. But the device has responded to the last command it received. Please see below:

    59 15:57:52.994   +0:00:00.140 HCI Send Event: HCI_COMMAND_COMPLETE_EVT

    60 15:57:53.024   +0:00:00.170 hcic_process_hci_commands: HCIPP_WRITE_MEMORY_BLOCK (Group 3f Opcode 0x305)

    61 15:57:53.024   +0:00:00.170 hcic_get_num_of_host_commands. Total free = 3, Reported to host = 1

    62 15:57:53.024   +0:00:00.170 HCI Send Event: HCI_COMMAND_COMPLETE_EVT

    63 15:57:53.024   +0:00:00.170 hcic_process_hci_commands: HCIPP_WRITE_MEMORY_BLOCK (Group 3f Opcode 0x305)

    64 15:57:53.024   +0:00:00.170 hcic_get_num_of_host_commands. Total free = 3, Reported to host = 1

    65 15:57:53.024   +0:00:00.170 HCI Send Event: HCI_COMMAND_COMPLETE_EVT

    66 15:57:53.044   +0:00:00.190 hcic_process_hci_commands: HCIPP_WRITE_MEMORY_BLOCK (Group 3f Opcode 0x305)

    67 15:57:53.044   +0:00:00.190 hcic_get_num_of_host_commands. Total free = 3, Reported to host = 1

    68 15:57:53.044   +0:00:00.190 HCI Send Event: HCI_COMMAND_COMPLETE_EVT


    So this issue is not with the device. I would suggest that you check the host UART communication for further analysis.

    Regards,
    Gigi Joseph.