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.

CC2340R5: how use in embedded Linux project

Part Number: CC2340R5
Other Parts Discussed in Thread: CC3301, CC2564

Hi,

We developing a embedded Linux product based on AM5231 processor, and plant to use CC2340R5 with it for BLE. but it seems on CC2340R5 ble stack will be running on that, so how can we use it with Linux. I could see that if we flash host_test firmware to CC2340, its UART interface can act as HCI but it only support TI vendor specific HCI commands, so how to progress further?

Regards,

Yadhu

  • Hi Yadhu,

    The CC2340R5 does not support linux running natively on the device, so you will not be able to control the CC2340R5 fully through the use of a Linux BLE stack (such as BlueZ). However, host_test may be the most useful project to use in your case. Host_test can receive vendor specific HCI commands (over UART or SPI) to perform BLE functions. You would need to add these vendor specific commands to your linux application in order to operate the CC2340R5.

    Best Regards,

    Jan

  • Hi Jan,

    Does TI currently provide any C library for handling vendor-specific HCI commands?

    Is it possible to use other parts like CC3301 or CC2564 with BlueZ, since it has only BLE controller part?

    Regards,

    Yadhu

  • Hi Yadhu,

    I would recommend referencing the host_test project and its included drivers. Particularly, I think the npi files and the hci.c file would be most useful here. These are the files that implement the Vendor specific HCI commands and the transport interface.

    Best Regards,

    Jan

  • Hi Jan,

    Thank you for the answer can you also look into, whether is it possible to use CC3301 and CC2564 with BLueZ?

    Regards,

    Yadhu

  • Hi Yadhu,

    No problem! The CC3301 and the CC2564 are supported in a separate section of the forums. Can you post your CC3301 & CC2564 question in a new thread so it gets routed to the right experts?

    Best Regards,

    Jan