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.

Getting started with cc2540 mini dev kit

Other Parts Discussed in Thread: CC2540

I just purchased the cc2540 mini dev kit and am trying to learn how to use it.

In the quick start guide it says:

"Select the appropriate flash image by clicking the browse button (marked "…") next to the flash image text field. You will find the flash images in <BLE stack install dir>\Accessories\Hex_Files. Note that there are different files for the keyfob and the dongle."

Yes there are 9 of them. Which one should I use? I’m a beginner. I need to be told everything at this point.

Then it says "You are now ready to run your first Bluetooth® low energy application! For further details, please follow the instructions in the CC2540 Mini Development Kit User’s Guide."

No I'm not ready because it didn't tell me which one to load.

Then in the CC2540 Mini Development Kit User’s Guide it says: "This section describes how to set up the software and get started with the CC2540 Mini Development Kit. It is [wrongly] assumed that the instructions found in [1] (a printed copy of the quick start guide is included with the kit) have already been completed, with both the keyfob and the dongle having been programmed with the latest hex files."

Which ones!

Also, If I ever figure this out, I will need to communicate with the CC2540 with my own program (not BTool) so that the data can be uploaded to a web site. Can anyone point me to an example of how to do that? Isn't this a common need? I didn't see anything like it in the docs.

  • Then you should check a doc which is more than 1 pages long :)

    http://www.ti.com/lit/ug/swru270b/swru270b.pdf

    This should do the thing. Post any other questions you may have!

  • The link you provided is the same CC2540 Mini Development Kit User’s Guide that I quoted.  It starts with section 3, Getting Started in which it states the prerequisite is to have completed the quick start guide.  I'm trying to point this out to TI so they can improve their documentation.  I hope they will take it in the light of constructive criticism from a beginner's perspective.  I run my own businesses too and I always appreciate it when customers point out confusing issues to me so that I can improve it.  Anyway, I took a guess and loaded CC2540_keyfob_SimpleBLEPeripheral.hex into the keyfob and CC2540_USBdongle_HostTestRelease_All.hex into the dongle.  But there are 7 others included in the BLEstack download. It should not be left to the customer to guess.  It seems to be working ok so far but it's an unsettling feeling not knowing if the right stuff is loaded.

    Ps. Sorry if this lands in the wrong spot.  I hit the link in the outlook email and it took me to this url in default firefox browser.  But since firefox fails to work correctly with this forum (no Post button so can't post), I have to copy the link and paste it in Internet Explorer.  TI, please make this forum work with firefox!

  • Hello John. There should be another document called the TI_BLE_Sample_Applications_Guide located in the BLE-CC254x-1.2/Documents folder that was installed with the other sample applications which summarizes those programs.

    To get a better understanding of the abilities that the development kit provides, you should load the CC2540MiniDkDemoSlave.hex file into the keyfob. (You were correct in loading the USBdongle file.)

    Hope that helps.

  • Unfortunately, now I get "invalid response" when I enter F1:FF in the Characteristic UUID box and click the Read button.  Before, I was getting the correct "01" response.  The connection correctly shows  the Slave BDA: 90:D7:EB:B2:66:19 and Status shows (Success) on GAP_EstablishLinkRequest.  Please help.  I am stuck and don't know what to do.