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.

CC2564CMSP432BTBLESW: Development tools, iBeaconDemo and SSPDemo projects.

Part Number: CC2564CMSP432BTBLESW

Hi Experts,

Client has this problem running the iBeaconDemo and SPPDemo sample projects - which are part of the TI CC2564CMSP432BTBLESW development tools. As per their report, the projects seem to compile and flash the demo board, but they can't get them to run correctly. 

Thy are using the TI downloads in conjunction with the Panasonic PAN1326C2 Wireless Connectivity Evaluation Kit. 

I've attached a screenshot of the text that is sent from the evaluation board over the serial connection with their laptop, and there is a message "Low Energy support not initialized". 

Can you advise how we can fix this please? 

Thank you for your support.

Regards,
Archie A.

  • Hi Archie,

    This issue usually occurs when the "__SUPPORT_LOW_ENERGY__" flag is not set. You can view this in CCS by right-clicking the project and selecting "Properties" and then navigating to "Build > Advanced Options > Predefined Symbols."

    Can you have the customer verify that this flag is present in the demo? For Low Energy, the customer should use SPPLEDemo instead of SPPDemo.

    Thanks,
    Jacob

  • Hello Jacob,

    Thank you for your guidance. Just received response from client.

    They have used the SPPLEDemo project, and checked whether the "__SUPPORT_LOW_ENERGY__" flag is set - and it is set (see the attached image).

    However, they still get the message "LOW ENERGY Support not initialized". The pairability mode also fails for the SPPLEDemo, and unable to pair a phone with the Bluetooth module.

    They've shared an image showing the "__SUPPORT_LOW_ENERGY__" flag, and another image showing the output from the terminal when the program tries to run.

    When they ran the SPPDemo project (not LE), they also failed to pair the Bluetooth module with a phone.

    Also as per them, in the case of the iBeaconDemo, the LE Advertising fails, so the Bluetooth module does not appear in the device list during a scan using the TI SimpleLink App.

    Can you advise further please?

    Thank you.

    Regards,
    Archie A.

  • Hi Archie,

    I see the same issue on iBeaconDemo and SPPLEDemo. Does the customer see a .LowEnergyPatch symbol in the map file? Also, is the BTPS_CONFIGURATION_GATT_SUPPORT_LE define set to 1 in BTPSCFG.h?

    I believe that the stack is not properly sending the controller the Low Energy patch from CC256X.h. I will look into this to see why this is happening and will provide a fix.

    Thanks,
    Jacob

  • Hello Jacob,

    Client have looked at the files that you describe and found the following:

    In file "SPPLEDemo.map", line 147 reads:
    0003b178 0000000b BTPSVEND.obj (.const:.string:LowEnergyPatch)
    This is the only occurrence of the string "LowEnergy" that a search found in this file.

    In the file "BTPSCFG.h", the #define BTPS_CONFIGURATION_GATT_SUPPORT_LE is set to 1.

    For your information.

    Thank you.

    Regards,
    Archie A.

  • Thanks Archie,

    I will continue to debug this issue.

    Best,
    Jacob

  • Thank you, Jacob, for your support.

    Regards,
    Archie A.

  • Hi Jacob,

    Good day.

    We would like to ask your update on this.

    Thank you.

    Regards,
    Archie A.

  • Hi Archie,

    I plan to try manually enabling Low Energy as a feature in the stack today. I have updated the customer on this separate thread. Depending on the results, I may have to fix a bug in the stack and release a new version of the Bluetopia SDK. 

    Thanks,
    Jacob

  • Hello Jacob,

    Thanks for letting me know for that separate thread. That must be the same client this post is for.

    They are asking for update. It would be better to reply to that thread from client.

    Thank you.

    Regards,
    Archie A.