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.

CC2564C: HCI tester timeout error with CC256xCOFN-EM + CC256xEM-STADAPT

Part Number: CC2564C

Hi, there:

I am using  CC256xCOFN-EM + CC256xEM-STADAPT with HCI tester. (connected to Windows through a FDTI connector)

with below connection

CC_UART_TX    <--------> FTDI CONN's RX

CC_UART_RX   <--------> FTDI CONN's TX

CC_UART_CTS <--------> FTDI CONN's RTS

CC_UART_RTS <--------> FTDI CONN's CTS

CC_VCC            <--------> 3.3V

When sending excuting HCI commands, it always reported "timeout error" as below:

12:59:05.914 ERROR - Timeout waiting for event HCI_Command_Complete_VS_Start_VS_Lock_Event
12:59:05.914 ERRORed Line (11): Wait_HCI_Command_Complete_VS_Start_VS_Lock_Event 5000, 0x00, 0xfe37, 0x00

My HCI port setting as below:

Please help me do a kind check on this issue? 

  • Hi TaoTao,

    Did you comment out the sleep mode configuration? See below.

    Have you tried replacing "5000, 0x00" with "5000, any" before running the initialization script? See section 3.2 in the HCI Tester Tool User's Guide.

    BR,

    Seong

  • Hi, Kim:

    Tried with comment out the sleep mode configuration

    #Send_HCI_VS_Sleep_Mode_Configurations 0xFD0C, 0x01, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0064
    #Wait_HCI_Command_Complete_VS_Sleep_Mode_Configurations_Event 5000, any, 0xfd0c, 0x00

    result is the same.

    And then fellow the section 3.2 you mentioned:
    1. Open HCITester tool.
    2. Open the BTS file (File→ Open).
    3. Create a new script (File→ New).
    4. Copy the contents of the BTS file into the new tab.
    5. Click Edit→ Replace→ Replace All and replace 0x00 in the Number of HCI Commands parameter with any
    6. Save that script as the new initialization file in TXT format.
    NOTE: Run this initialization file before running any scripts on the module.
    7. Click Execution→ Execute to run the initialization file.

    Still got "timeout" as below when excuting the HCI command

    09:22:08.212 ERROR - Timeout waiting for event HCI_Command_Complete_VS_Start_VS_Lock_Event
    09:22:08.212 ERRORed Line (29): Wait_HCI_Command_Complete_VS_Start_VS_Lock_Event 5000, any, 0xfe37, 0x00

  • Hi TaoTao,

    1. Which XML file are you using?
    2. Are you able to establish a connection between your board and PC? Do you see something under the Device Manager's COM ports?
    3. Have you confirmed that the UART level shifter is working correctly, if one is used?
    4. Have you tried executing the HCI_VS_Get_System_Status (0xFE1F) command and probing the UART TX/RX using an oscilloscope to check the integrity of the signal? Can you please share the scope shots?
    5. Has your board design been reviewed? If not, you can request a design review here.

    BR,

    Seong