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: Can I use the Launchpad CC2652 device to replace RPi's onboard Bluetooth?

Part Number: LP-CC2652RB
Other Parts Discussed in Thread: CC2652R

I'm using RPi's onboard bluetooth with basic Linux tools (gatttool, hcitool), and I also use BlueZ to connect to some BT peripherials.

It seems the radio is not that perfect (can't connect stable to devices above 3-4m distance), and I thought of this nice board to replace the BT functionality and improve the radio quality.

Therefore, I'd like to replace the onboard Bluetooth with something external solution.

Is there an easy way to use the Launchpad as a standard 5.0BLE USB adapter and used it from Linux?

  • Basically, the Bluetooth module on Raspberry Pi is dual mode Bluetooth and LP-CC2652R is BLE only chip. I don’t think there’s any easy way to make it plug-and-play. I would suggest you to consider CC2654 as alternative.

  • Thanks for confirming. I have no problem with refactoring my code for CC2652, if it can be utilized for my needs, please help me finding out this:

    1.) I need to connect to BT peripherials (writing, reading gatt characteristics, receiving indications/notifications) - I think this is doable, but please confirm

    2.) I also need to do a layer2 ping (in the BlueZ's world the tool for that is l2ping):

    socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_L2CAP);

    Is this doable with 2652? Very important question for me.

    3.) I would utilize the DMM and cc2652 would also act as a ZB coordinator.

    Do you think this can also work?

    Thank you!

  • 1&2. I have replied that CC2652 only supports BLE not BT classical so you cannot do this with CC2652.

    3. Even using CC2652R as BLE central, I don't think it's feasible to run CC2652 DMM with Zigbee coordinator and BLE central role because both Zigbee coordinator and BLE central might occupy RF resource for a long time and impact the other when using DMM mode.

  • Thanks.

    What would you recommend me if I need these features?

    ZB Coordinator is the most important. But I would like to listen for BLE beacons (constantly), and occasionally I'd connect to BLE peripherials.

    Also, occasionally I'd check for a smartphone if it's nearby or not - this was done with L2 Echo request until now, but there might be other ways doing it.

    However I'm looking for a solution for this, synchronization is an absolute must even if you do it with separate chips and antenna they will interfere each other.

    So, based on my requirements, what would you recommend me?