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: CC256XC.h bluetooth service patch v1.4 download to host MCU.

Part Number: CC2564C

Hi everyone,

Just wondering has anyone managed to update to the latest service patch v1.4 to the bluetooth chipset using the CC256XC.h header file?

I am having some issues in downloading the latest v1.4 patch using the header file with the TI stack running on our host cortex-M7 MCU.   We are previously patching v1.3 that is working on our custom pcb. 

I have tried using the bts script and HCI tester tool to download the v1.4 patch, that seems to work well, and can verify the specification is 5.1.

Then I compared the contents of the header file bts script, they seems to be correct.

any thoughts?

Thank you!

Sam

  • Which BT stack are you using? Does it accept BT 5.1 controller as well? By default v1.4 package has set the controller to Core version to 4.2. Some customers have taken the BTS file from the 1.4 release and converted it to '.h' file and tried it on their custom board.  You would need to use 'BTS Transform' utility to convert from BTS file to .h file. 

    Thanks

  • Hi Hari, 

    Thanks for the reply.

    We are using cc2564c dual-mode bluetooth stack for STM32, our host mcu is STM32H7.  v4.2.1.1. 

    I haven't modified the cc256xc.h file, it is taken directly from the service pack v1.4 for CC256XC.

    Y
    es the v1.4 sp, set the core version to 4.2 by default.  I have observed that in the bts script

    ######
    ### Set the BT Core spec to 4.2 for Bluetopia stack compatibility
    ### Remove below VS command for default BT core spec 5.1
    # Send_HCI_VS_Read_Modify_Write_Hardware_Register 0xFD09, 0x00085368, 0x2a00, 0xff00
    # Wait_HCI_Command_Complete_VS_Read_Modify_Write_Hardware_Register_Event 5000, any, 0xfd09, 0x00
    ######

    Could you please point in where I can download the BTS transform. I found BHET tool from here

    You need to convert the Service pack (SP) from “.bts” format to “.h” format using the Bluetooth hardware evaluation tool (BHET), to use it with TI’s Bluetooth stack. The BHET Tool can be downloaded from the following link and how to modify and save it as in the desired format can be found here'. For all the latest TI’s Bluetooth stack versions you need to replace \Bluetopia\btpsvend\CC256XB.h (or \Bluetopia\btpsvend\CC256X.h) files respective (by taking the backup of the original file) depending on your Chip revision.
    

    but the link does not work. 

    Thank you for your help!

    Sam

  • if, you are using TI Dual mode Bluetopia stack, can you try with the patch provided in this thread:

    Thanks

  • Hi Nari,

    I tried this patch,  it works.  

    If i tried to set the core to 5.1, by 
    1. commenting out the line 

    0x01,0x09,0xfd,0x08,0x68,0x53,0x08,0x00,0x00,0x2a,0x00,0xff,

    Or,

    2,  using

    0x01,0x09,0xfd,0x08,0x68,0x53,0x08,0x00,0x00,0x33,0x00,0xff,

    I get Unable to open Stack - Stack Init Failed:  -4  


    Thanks


    Sam

  • Well, there are changes needed in Bluetopia stack too to be compatible with 5.1 controller. It will be released soon. In the meantime, please use FW version set to 4.2.

    Thanks