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.

Bluetopia Stack not working (SPPDemo)

Other Parts Discussed in Thread: CC1120, MSP430F5438A

Hello,

I am using Bluetopia Stack for SPPDemo in CC1120 Development board (rev 1.7) which contains MSP4305438A

I have made the changes in HAL.c and HRDWCFG.h files as needed. 

I am able to open Port, start server but cannot detect the device using Bluterm app.


this is putty log.


«kWÖ¬-¨JCCÂBluetooth Stack ID: 1
Device Chipset: 4.0
BD_ADDR: 0x0017E7FF3178

******************************************************************
* Command Options: Server, Client, Help *
******************************************************************

Choose Mode>server

******************************************************************
* Command Options: Inquiry, DisplayInquiryList, Pair, *
* EndPairing, PINCodeResponse, PassKeyResponse, *
* UserConfirmationResponse, *
* SetDiscoverabilityMode, SetConnectabilityMode,*
* SetPairabilityMode, *
* ChangeSimplePairingParameters, *
* GetLocalAddress, GetLocalName, SetLocalName, *
* GetClassOfDevice, SetClassOfDevice, *
* GetRemoteName, SniffMode, ExitSniffMode, *
* Open, Close, Read, Write, *
* GetConfigParams, SetConfigParams, *
* GetQueueParams, SetQueueParams, *
* Loopback, DisplayRawModeData, *
* AutomaticReadMode, SetBaudRate, Send *
* Help, Quit *
******************************************************************

Server>open 1
Server Opened: 1.

Server>SetDiscoverabilityMode 2

GAP_Set_Discoverability_Mode Failed: -57.
Function Error.

Server>


  • Hi Tushar,

    Could you please confirm if the chipset is CC1120 ? From the link you provided, it doesn't appear to have Bluetooth!

  • Hello Sundeep,

    The CC1120DK Board contains the matching RF connectors as used on MSP430EXP5438 board so we plugged PAN1323EMK module on top of it. I have changed the the two files acccording to hardware porting guide.(HRDCFG.h and HAL.c)

    as you can see from the terminal I am getting Bluetooth address which means initialization is working but after that there is no respond from Bluetooth chip.

    Thanks,

    Tushar

    HRDWCFG.h
  • Hi Tushar , 

    Thanks for the clarification.

    If you are using Bluetopia 1.4, From the Hardware porting guide it is clear that you don’t have to make any changes if you are using  MSP430F5438A Experimenter Board as the samples provided already contains the support(CC256x MSP430 Bluetopia SDK\v1.4\MSP430_Experimentor\Hardware\MSP430_EXP5438).

    I suspect something has gone wrong while making the modifications.

    Could you please try to download SPPDemo as provided in the SDK without any modifications, and try.