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.

CC2564a and msp430

Other Parts Discussed in Thread: MSP430FR5969

Hi, i am using Target device with CC2564b and MSP430FR5969. I am newbie to blue tooth, but i got some idea about bluetooth
by reading some documents. I have downloaded the Stack from link www.ti.com/.../tibluetoothstack-sdk.(Bluetopia) And i have
noticed in HardWare folder, there is no MSP430FR5969. So here are my query

1) How and what are the required to port the same HAL for MSP430FR5969.
2) Where the Bluetooth Stack will reside?MSP430 or CC2564b.
3) Where can i find document for Following Case
->Configure Classic/BLE
->Configure Master/Slave
->Advertise Time and Advertise Msg(for slave Only)
->Discover Time(Master Only)
->Call Back API if any data receive from Master/Slave.


I would request expert to guide me in right path

  • Hi,
    You can create a new project with CCS/IAR for MSP you are using, you can refer to the setting of any demo available to get an idea.
    please see the "Hardware Porting Guidelines.pdf" file in the documentation folder of the SDKfor porting to other platforms.
    you can visit our main wiki processors.wiki.ti.com/.../CC256x and documentation folder as part of the SDK
  • Thanks for your reply, ok i will look at that. If i change only HAL driver, that enough to run all demo's which is present in a Bluetopia stack?. I don't have experimental board, means i couldn't able to do SPP demo, right?. What about other demo's. Can you please answer my next two question also. So that i can start to work on it.  

    1)Where i have to change the for master and slave configuration

    2)Which API is used to send data from Master to slave and Vice versa

    3)How to Advertise/Scan in Slave/Master

    I would be grateful, if you suggest me 

  • Can any TI member will respond to this post

  • Hi Anthony,

    It wouldn't be possible to port the bluetopia stack on the MSP430FR5969 because of insufficient memory.
    Please see: e2e.ti.com/.../1418311

    To answer your questions (for supported MSPs):

    1. If i change only HAL driver, that enough to run all demo's which is present in a Bluetopia stack?
    [A] Yes

    2. Where i have to change the for master and slave configuration
    [A] If you are the master and don't want to allow role switch from remote, then you can use:
    L2CA_Link_Connect_Params.L2CA_Link_Connect_Request_Config = cqNoRoleSwitch;

    If you want to automatically request a role switch upon accepting a connection request from slave, you can use:
    L2CA_Link_Connect_Params.L2CA_Link_Connect_Response_Config = csRequestRoleSwitch;

    Both these are configured in the OpenStack() method. You can see samples in all demo code.

    For BLE, you can check any BLE demo code (ANP for example).
    Master: GAP_LE_Pair_Remote_Device()
    Slave: GAP_LE_Request_Security()


    3. Which API is used to send data from Master to slave and Vice versa
    [A] Assuming you are talking about the SPP profile, you can use SPP_Data_Write().

    4. How to Advertise/Scan in Slave/Master
    [A] BR/EDR: GAP_Perform_Inquiry() to inquire remote devices, GAP_Set_Discoverability_Mode() to enable discoverable mode & GAP_Set_Connectability_Mode() to enable connectable mode.
    BLE: GAP_LE_Perform_Scan() to scan for remote device, GAP_LE_Advertising_Enable() to enable advertising(Note: need to call GAP_LE_Set_Advertising_Data() & GAP_LE_Set_Scan_Response_Data() prior to this call).

    Regards,
    Gigi Joseph.
  • I want to use either BLE or Classic of bluetopia Stack. So as to fit in MSP430FR5969, i don't want any Audio or related stuff. I want to use Just to Configure as Master/Slave advertising/Scanning network and Send Data. That's it. Can any one tell me how to achieve this. 

  • Hi,

    Please see: . It contains information about the Bluetopia stack+app footprint. It is pretty old, but  quite reliable...

    Please see below the readings I just took (includes the Stack + App) size:

      IAR CCS
      DATA CODE DATA CODE
    SPP Demo 6432 114284 6456 118761
    SPP LE Demo 7365 188370 7396 192432
    SPP LE Demo Lite 6234 127249 6266 132072


    Regards,
    Gigi Joseph.