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.

connecting MSP430F6436 to bluetooth module

Other Parts Discussed in Thread: CC2541, MSP430F6436, MSP430F5529

I was wondering, what is the best option to connect bluetooth module (cc2541) to MSP430F6436? Thanks

  • You can communicate to the cc2541 using both SPI and UART, but I personally found UART much easier to get working. I believe that the SPI communication to the cc2541 is actually 5 wire, which I have never come across before (it is typically 4 wire). I tried getting the SPI to work at first, then found the UART to be a lot more simple to set up.

    You also have to figure out what gatt configuration you want. You can technically set up your gatt characteristics on the MSP430 side, but this is quite difficult. I would recommend setting up all characteristics on the cc2541 and writing simple functions to access them.

  • @Christopher:  Thanks. Could you pls let me know you have your own pcb board or you use a kinda evaluation board. May I ask the name of your board? 

  • To be more specific, we are using the Tiwi-Ub1 bluetooth module. I forgot to ask if that was the module you were using.

    So we started out testing with the Tiwi-Ub1 eval kit and connected the breakout pins to an MSP430F5529 launchpad. You will need IAR workbench to program the the module, unfortunately there are no other options if you do not already have it (there is a 30 day trial, but the licences are quite expensive). There are a lot of example programs you get with the stack, but the one you would need to use is called HostTestApp. This sets up the pins on the module to connect over UART/SPI with an external microcontroller (in our case the MSP430).

    Here is the wiki for reference: http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/1337302/reply.aspx

    You will find the Software Developer's Guide there which has a lot of useful information and also explains the differences in all the example programs.

    You can download the stack here: http://www.ti.com/product/CC2541/toolssoftware

    This will also give you all of the example programs.

**Attention** This is a public forum