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.

LP-CC2652RB: How to do BLE pairing using CC2652RB?

Part Number: LP-CC2652RB
Other Parts Discussed in Thread: CC2652RB, SYSCONFIG

Trying to do BLE pairing with CC2652RB. The device is not getting discovered in the Android's Bluetooth while scanning. 

How to resolve this?

  • Hi,

    Could you please describe the steps you have taken and the SDK version you are using?

    For a first evaluation, I would recommend to flash the device with the pre-built simple_peripheral image provided in the SIMPLELINK-CC13X2-26X2-SDK. As you are using a LP-CC2652RB, the image is in <SDK>\examples\rtos\LP_CC2652RB\ble5stack\hexfiles\simple_peripheral_app.hex The tool called Flash Programmer 2 should allow you to flash the image on the CC2652RB device.

    Best regards,

  • Hi,

    I am using the simplelink_cc13x2_26x2_sdk_5_20_00_52 SDK and trying out the Simple Peripheral example using Code composer Studio.

  • Hi,

    Could you please specify the name of the project used in CCS?

    Regards,

  • Hi,

    I am using the "Simple_peripheral" example in ble5stack.

  • Hi,

    I wanted to verify with you if you are using the proper project (i.e. simple_peripheral for CC2652RB). Could you please verify this for me?

    On option to verify this is to look at the CCS project name, it should be something like "simple_peripheral_LP_CC2652RB_tirtos_ccs"

    Best regards,

  • Hi,

    Yes the project is "simple_peripheral_LP_CC2652RB_tirtos_ccs".

  • Hi,

    Could you also confirm the launchpad is a LP_CC2652RB? (you can provide a picture if you are in doubts)

    The reason I am asking these question, is we tested the exact same code on the same hardware without noticing any issue. So, I hope this will help to spot the difference between our setups.

    Best regards,

  • Hi,

    Ok, so both the hardware and the software look correct.

    Would you happen to have a second LP_CC2652RB board? If yes, could you run a few tests with it? That way we could exclude an issue on the hardware.

    in addition, could you please verify the code running on the LP_CC2652RB boots properly? You could do this using CCS debugger (by setting a few break points for example), or you could check the device sends out a few UART messages (see the example's README for more details).

    Best regards,

  • Hi,

    Thanks for your patience and answers.

    We do have only one LP_CC2652RB board.

    I have tried flashing the "simple_peripheral_app.hex" file using flash programmer, then the peripheral is advertising while scanning using Android Bluetooth and I am able to pair it now.

    In CCS, I have reinstalled the project "simple_peripheral_LP_CC2652RB_tirtos_ccs" and run the project. The device is advertising in Android Bluetooth scanning.

    When I make some changes in sysconfig, the device is not advertising.

    In CCS, using sysconfig I have changed the device name and the address type to "Public Address". Once I save and run the code with the changes mentioned above, the device is not advertising in Android Bluetooth scanning.

  • Hi,

    Great to see you get it to partially work.

    Could you please open a new thread describing in details the changes leading the project to not work? You could include screenshots and maybe run a debug session with breakpoints in order to help problem resolution. You can review this document for details on debugging methods.

    Best regards,