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.

CC2640: CC2640 linux openwrt develop

Part Number: CC2640
Other Parts Discussed in Thread: UNIFLASH, ,

Hi all

CC2640 by uart interface

1. We got simplelink_cc2640r2_sdk_5_30_00_03 from ti website. Is there any file needed to include to our project? 

2. Is there any driver to enable CC2640?

3. Is there bt porting guide about linux?

  • Hi Jack,

    Thank you for reaching out.

    It sounds like you would like to control the CC2640R2 device through HCI/UART commands. To do so, the project host_test is recommended.

    Assuming you are evaluating the CC2640R2 device using a TI LAUNCHXL-CC2640R2, you can directly flash the pre-compiled image <SDK>\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\hexfiles\cc2640r2lp_host_test.hex. As a side note, I recommend to leverage Uniflash to flash the device - see https://www.ti.com/tool/UNIFLASH.

    For future developments, or in case you are using a custom board, the source code of the host_test project can be found in <SDK>\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\host_test

    I hope this will help,

    Best regards,

  • Hi Guru

    We are using a our board. We use below command to initialize BT. Howerver, it can't work fine. 

    root@OpenWrt:/# hciattach /dev/ttyMSM2 texas 9600 flow
    Initialization timed out.

    1. Should we need to imclude host_test to our project ? 

     

  • Hi Jack,

    Can you confirm you have flashed the suggested image on the CC2640R2F device?

    This is absolutely required as the CC2640R2F is delivered with blank flash, meaning it cannot recognize UART commands unless it is flashed with proper software.

    Regards,