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.

CC2540: Communicate using serial communication (LABVIEW)

Part Number: CC2540

Tool/software:

Hi,

Currently i have project to send/read packet BLE. Able to open Packet Shiffer to get listed packet.

But is there some method i can access the listed packet or direct send command to the dongle via serial communication?

As I'm using Labview for this project development. People suggest using silab but that product already discontinue. 

and looking at the post related to labview is alread 8 year more ago. maybe TI have new software to solve this issues? 

  • Hi,

    You will be interested in the HostTestRelease project provided with BLE-STACK-1-X.  This is a network processor solution where the controller and host layers are implemented together on the CC2540 while the profiles and the application are implemented separately on an external host processor (PC).  This uses the HCI layer which transports commands and events between the host and controller using a transport protocol such as SPI or UART.  You can find additional descriptions and resources in the CC2540 Bluetooth® Low Energy Software Developers Guide.

    Regards,
    Ryan

  • I tried install BLE Stack, seem like it need to select serial COM, but on my device manager, the CC2540 not recognize as COM port.

    Is there anything I need to install for the dongle recognize as a COM port??

    or do i need to reprogram the CC2540?

    Do I need to have a serial USB to connect to the debug port on the CC2540 dongle?

  • You will need to reprogram the CC2540 for the HostTestRelease project.  Instructions for programming the dongle and connecting to BTool can be found in the following guides:

    https://www.ti.com/lit/swru342 
    https://www.ti.com/lit/swru270 

    Regards,
    Ryan

  • sorry for the long wait, I have purchase and just received the cc debuger. 

    As for the Hex file, I found it at "C:\Texas Instruments\BLE-CC254x-1.5.2.0\Accessories\HexFiles". My guess is "CC2540_USBdongle_HostTestRelease_All.hex"? or there is other Hex file can be download online?

    And how about the serial command that can be used, is there document about it?

    Does this related with "Evaluation versions of IAR EW8051"?

     

  • I believe you have located the correct hex file, also you should be referring to the "Documents" folder of your BLE-CC254x-1.5.2.0 installation.  For example, you are interested in the "TI_BLE_Vendor_Specific_HCI_Guide.pdf".  You can use BLE-CC254x-1.5.2.0\Accessories\BTool as confirmation that your dongle is communicating over HCI as programmed.  If you need to modify the default HostTest firmware then you will need IAR EW8051.

    Regards,
    Ryan