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.

MSP-EXP430F5438: SPP Demo - Blueterm does not see the board

Part Number: MSP-EXP430F5438

Hello,

   I am having trouble with MSP-EXP430F5438 board. I'm trying to run a SPP Demo example, open server at my board and connect my android smartphone to it (via Blueterm)

   SPP Demo:

   http://processors.wiki.ti.com/index.php/CC256x_TI_Bluetooth_Stack_SPPDemo_App

   I am using CC2654 BT eval board:

   http://www.ti.com/tool/CC256XQFNEM

   I have places UART Rx Tx connectors and connected pins at RF3 connector as described here:

   http://processors.wiki.ti.com/index.php/CC256X_MSP:EXP430F5438#RF3_Connector

   I compiled and loaded SPP Demo onto my board, connected with board via USB COM (Realterm software), and succeded in sending following commands via COM:

   Choose Mode> Server

   Server> open 1

   That is as far as I got. My phone does not see the board via Blueterm, neighter do other phones I borrowed for this test. Windows does seem to see the device as unidentified, when I try adding it it asks for PIN code. After entering 0000 I can see that some data is being transferred between my MSP board and PC, as data appears in Realterm ():

   GAP_Authentication_Response() Failure:502 \r\n

   I'd be thankful for any help - my end goal is to write an android app connecting with my device, so I need to get this SPP Demo example working with my phone :)

Best regards,

Michał Wieteska

   

  • Michal,

    Which version of the service pack are you using? Have you tried connecting to the device with another CC256x evaluation board?
  • Michal,

    Is this still an ongoing issue?

    Do you have any further information regarding the questions I've asked?
  • Dear Dale,

      Thank you for your reply. I have not tried another CC256x board yet, but I do have one at the office - I will try it on Friday and see if it helps.

      As for your question regarding service pack - I don't think I have uploaded any version other than default. Sound like this might be the cause of my issue :)

      To update to version 1.6 should I simply follow the instructions below? (I am using Windows)

      http://processors.wiki.ti.com/index.php/CC256x_Service_Pack_User%27s_Guide

       Once I figure out how to update to SP 1.6 I'll let you know if this solved my issue.

    Michal

  • Michal,

    Those instructions are for Linux, but instructions for Windows can be found here. A few changes to note:

    - The Bluetooth Hardware Evaluation Tool is no longer recommended, the recommended tool is now HCITester, part of the Wireless Tools Package.

    - The Wireless Tools Package should come with an application called BTSTransform, which can convert .bts files into the required .h files. From there, you can replace the current .h file in the directory.

  • Dale,

       Thank you for the correct link. I have downloaded the Wireless Tools Package. 

       I used BTSTransform to convert initscripts-TIInit_6.7.16_bt_spec_4.1.bts file into CC256X.h file.

       I then replaced the original CC256X.h file under Bluetopia/btpsvend with this newly created file.

       In CCS is double checked that project sees the newly replaced file, then rebuild project and uploaded in onto my MSP-EXP4305438 board.

       Nothing seems to have changed in terms of my problems though.

       I will try using other CC256x module. Do you have any other suggestions? Perhaps I could have made a mistake uploading the SP?

    Regards,

    Michal

  • Michal,

    Sounds like you've uploaded the service pack correctly, what do you see on your BlueTerm when you scan for new devices, just a blank screen?

  • Actually one thing to try: I think you should be replacing the CC256xB.h file, not CC256x.h. Could you try that and see if it helps?
  • Dale,

      Thank you for your continuing support. My Blueterm still does not see the board, but I did as you said with the CC256XB.h file and I got a bit of progress while trying to connect the device to windows - it actually connected!

      I attached some screens in a pdf file.

    MSP CC256X with Blueterm.pdf

      The device is visible as VCOM (as expected, since this is a SPP Example)

      I opened another serial terminal and sent some data through BT VCOM, in another terminal I can see that the data has been received, also data length is displayed.

      Oh, and one more thing. Once I send data through my BT Tx terminal the yellow square next to TX light us - as if the sending process was still running.

      This is certainly a step in the right direction, but my main goal is still to get it working with Blueterm on my UMI Super device with Android 6.0. (I also tried Blueterm with other brands of smartphones, however that was before the CC256XB.h story).

    Michal

  • Again, I'd recommend trying to connect with other devices (another CC256x or other phones), now that we've got the service pack correctly loaded. From a non-SPP standpoint, are you able to see and connect with the device using the Android phone's built in Bluetooth? Obviously you won't be able to execute any of the SPP functions, but first I need to see that you're able to connect to the device.

  • Dale,

      I tried another CC256X module, as well as other phones with no success.

      I did, however, look for other Bluetooth SPP terminals for Android and I was able to connect with my MSP430 board using "Serial Bluetooth Terminal" software.

      Still, board seems to only receive one data packet, after which I get a following message:

    HCI Mode Change Event, Status: 0x00, Connection Handle: 1, Mode: Sniff, Interval

    : 400

      After which the MSP430 board does not seem to receive anything else (at least that's what I'm seeing in PC's Realterm). Perhaps this is expected behaviour, I'll need to read up on that. Transmission from Board to Android (I'm using 'Send' command) seems to work properly.

      Where can I find some documentation on functions provided through terminal?

      I attach a screen from Realterm.

    Michal

**Attention** This is a public forum