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.

CC2564MODA: Interfacing cc2564MODA to MSP430F5659 controller

Part Number: CC2564MODA
Other Parts Discussed in Thread: MSP430F5659, CC2564, MSP430F5438A, CC2560B, CC2564MODN,

Hi All,

I am using MSP430F5659 controller with USB to interface with PC for UI. We are planning to use wireless communication with our MSP430F5659 controller using BT interface.

Please can any one help me in selecting BT slave device to interface with MSP430F5659 controller and other side to PC for UI(BT master Device).

We are having UART interface available for BT device.

Is there any Module available so that we can directly connect and check for wireless interface with PC(BT Master Device)  

I want to know the which protocols document to used for handling interface between BT slave device and MSP430F5659 controller.

For info ***** -MSP430F5659 has sensor data and i want to send those data to PC application, currently using USB CDC protocol to send the data to PC(UI),

Same thing i want to do it using BT, where PC will become a Master and i want use BT Slave in my design for sending and Receiving data to PC(UI) which is interfaced to MSP controller.

Please share inputs, Its urgent, we need to finalize the BT chip to interface to MSP430F5659

Thanks in advance

Nitesh

  • Nitesh,

    Please refer to the System Design Guide regarding interfacing the CC2564 devices with the MSP430. Also, take a look at the introduction to the MSP430 Bluetooth stack for more information on running software on the board.

  • thanks for input,

    I want to know whether i need BT stack in Host controller ?

    How i should send/receive the message to from Host controller to BT module over UART? Any protocol i need to study ? where i can find the Protocol details?

    Thanks in advance

    Nitesh  

  • Hi Nitesh,

    in addition I suggest further reading processors.wiki.ti.com/.../CC256x_TI's_Bluetooth_Stack
    My understanding of this is that there is a stack running on MSP430. There is also a section which lists a lot of examples that should help to develop your own apps.

    regards,
  • Thanks for the suggestion,

    I want to what profile is good for my data packet transmission, current i am using USB with CDC( Communication device Class).

    Can any one help me in selecting the profile which will be good for serial data(packet of max data size 50 bytes)?

    Do TI has BT stack in the form of  library ?

    i am using MSP430F5659 in my device which is not having BT in-build, how to send the data over BT ? whether i need stack in MSP430F5659 or external BT chip with BT Stack?

    Please guide me i am in search of best solution for my device to make a wireless device. 

    Thanks in advance.

    Nitesh

  • Hi Nitesh,

    Nitesh Padiyar77 said:

    I want to what profile is good for my data packet transmission, current i am using USB with CDC( Communication device Class).

    Can any one help me in selecting the profile which will be good for serial data(packet of max data size 50 bytes)?

    The SPP (Serial Port Profile) of the Classic Bluetooth (BR/EDR) is well suited for this type of serial comm/cable replacement type of applications. You can also find a SPP sample application in the User's Guide listed above.

    Nitesh Padiyar77 said:
    Do TI has BT stack in the form of  library ?

    The core stack and profile subsystems of the TI dual-mode Bluetooth stack are delivered as static binaries. In addition to this, the stack SDK has hardware abstraction layer (HAL), vendor specific files (BTPSVEND/BTPSKRNL) and sample applications delivered as source file. This makes it possible to port the stack and applications to another MCU in the same familiy (i.e. from MSP430F5438A to any MSP430F5xxx).

    Nitesh Padiyar77 said:
    i am using MSP430F5659 in my device which is not having BT in-build, how to send the data over BT ? whether i need stack in MSP430F5659 or external BT chip with BT Stack?

    The MSP430F5659 has more than enough flash to fit the Bluetooth stack and the SPP profile. Although, we have run into one particular problem with this MCU in past: the compiler will try to use the large memory model (because >64KB RAM) and the TI stack libraries are compiled with small memory model. This mismatch will create problems when linking the libraries.

    Reference: 

    One solution to this problem is to configure the compiler to use the small memory model for this MCU (provided it is possible wrt other components of the application). If not, we have 3rd party partners that can help you customize the Bluetooth stack according to your application needs.

    Additionally, I'd also recommend you to take a look into the MSP432 devices if you have flexibility regarding the MCU choice. There is a similar TI Bluetooth stack SDK for MSP432 and it also has similar SPP profile and demo application.

    Hope this helps.

    Best regards,

    Vihang

  • Hi Vihang,

    Very nice explanation, i understood from your reply that i can use the MSP430F5659 with BT stack and SPP profile, But i forgot to mention that already i have consumed 100K memory of 256K for my application.

    Even i am still not understood which BT controller i need to interface to my MSP430F5659 controller to send/receive wireless data to and from PC/Tablet?

    Since PC is Wireless master device here how BT slave controller will indicate the message reception ?

    Please guide me. Thanks in advance.

    Nitesh

  • Nitesh,

    Nitesh Padiyar77 said:
    But i forgot to mention that already i have consumed 100K memory of 256K for my application.

    The MSP430F5659 has 512KB flash. If only 100K are used by other components of your application, there should be plenty of space to fit Bluetooth stack and a SPP profile+application.

    Nitesh Padiyar77 said:
    Even i am still not understood which BT controller i need to interface to my MSP430F5659 controller to send/receive wireless data to and from PC/Tablet?

    From the information you have provided so far, you need to use a BT controller that has BT classic. The CC256x family of devices have a CC2560B (BT classic only) and CC2564B/C/MODx (dual-mode BT classic+BLE) controllers. Depending on whether your design require any BLE capabilities you can choose the appropriate BT controller/module from this family. The following selection guide can help you with that.

    www.ti.com/.../swru523

    Nitesh Padiyar77 said:
    Since PC is Wireless master device here how BT slave controller will indicate the message reception ?

    This data will be indicated at the SPP profile level. More details : processors.wiki.ti.com/.../CC256x_TI_Bluetooth_Stack_SPPDemo_App

    Best regards,

    Vihang

  • Thanks Vihang,

    Ok, so as per our conversation, i am summarizing the my selection and design technique as follows - I will use BT stack and SPP profile in my existing controller to interface BLE based controller CC2564B/C/MODx, to send or receive the my data over wireless communication.

    Still I have few question 

    1. Where i can get the API to send and Receive the my data packet to CC2564B/C/MODx controller?

    2. Whether CC2564B/C/MODx module has BT stack in it? If not what does that module do? If yes why we need separate BT Stack in our controller?  

    Thanks in advance.

    Nitesh

  • Nitesh,

    Nitesh Padiyar77 said:
    I will use BT stack and SPP profile in my existing controller to interface BLE based controller CC2564B/C/MODx, to send or receive the my data over wireless communication

    The CC2564B/C/MODx are dual-mode Bluetooth solutions (classic BT + BLE). The SPP profile is a classic Bluetooth profile. 

    Nitesh Padiyar77 said:
    1. Where i can get the API to send and Receive the my data packet to CC2564B/C/MODx controller?

    You will find the API documentation in the TI dual-mode Bluetooth stack SDK.

    www.ti.com/.../CC256XMSPBTBLESW

    Nitesh Padiyar77 said:
    Whether CC2564B/C/MODx module has BT stack in it? If not what does that module do? If yes why we need separate BT Stack in our controller?  

    As far as the software is concerned (including the Bluetooth stack), the CC2564B and the CC2564MODN or CC2564MODA are identical. So the CC2564MODN and CC2564MODA do not include the BT stack in the controller. I encourage you to read the CC2564MODx datasheet for all details regarding what is included and what is not. 

    All the advantages of using the CC2564MODx over the IC solution are related to hardware. These advantages include ease of use/design (since the module does not require RF expertise to design in a system) and faster time to market etc.

    More details : e2e.ti.com/.../the-dual-mode-bluetooth-module-you-ve-been-waiting-for-is-here

    Best regards,

    Vihang

  • Thanks Vihang,

    I will get back to you if any further questions

    Thanks again.....

    Nitesh

  • Hi Nitesh,

    Thanks for following-up. If all of your questions in this thread were answered, please click the "This resolved my issue" button on one of the responses to complete this thread.

    For further questions regarding this topic or any similar topic, I encourage you to open a new thread with the appropriate title. We will be more than happy to address it.

    Thanks in advance for making the threads more accessible to other e2e users!

    Best regards,
    Vihang
  • Yes, as of now i able to design as per the your suggestion,

    i will get back if have further questions

    Thanks

    Nitesh