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.

Linux/CC2640R2F: Running BLE stack in Linux os while using CC2640R2F

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2541, CC2564C, CC2640

Tool/software: Linux

Hello e2e,

Our customer want to use CC2640R2F as CC2564C, the host CPU is running Linux, they will use Linux BLE stack, i know that CC2541 provide this kind of application, but i can not find this in CC2640 SDK.

is it possible to use CC2640 in this way, and do we have the related software support this?

thanks in advance.

LEON

  • Hi LEON,

    It's definitely possible; the Linux Bluetooth Host driver should be able to do HCI Commands via UART or SPI. The frames need to look like NPI frames, like processors.wiki.ti.com/.../NPI

    You'll want to flash the CC2640R2F with the host_test sample application - which is included with the SDK. It's very similar to how you'd use the CC2541.

    We do not provide Linux drivers, I'm assuming if you have access to something that can use CC2541 already then it should be relatively simple to port that driver to use the CC2640R2F. (You should post that driver here, as many would benefit from it)

    Regards,
    Rebel
  • Hello Rebel,

    Got it, thanks for your help.

    LEON