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: CC2540EMK-USB Android connexion

Part Number: CC2540
Other Parts Discussed in Thread: CC2642R, CC2640R2F

Hi,

After several fruitless searches, I come to the forum in the hope of finding a solution to my problem.
I purchased a cc2540 dongle with a ccdebug. I downloaded in the dongle the program: "CC2540_SmartRF_SimpleBLEPeripheral.hex". 
The program is downloaded successfully but I cannot connect via my android phone Samsung S10+. I tried to use the "BLE Scanner" application, I can see device with the name "SimpleBLEPeripheral" but when I click on it, I cannot connect.
Following my research I saw that other .Hex files could be used but the problem remains the same ... I used the BTool software to connect the dongle to my phone, but when I start the scan, no device found :




Thank you for your answers

Regards.
  • As I know, prebuilt CC2540_SmartRF_SimpleBLEPeripheral.hex is for CC2540DK and not for CC2540 USB dongle. If you need BLE peripheral for CC2540 USB dongle, you might need to revise the example source code and build it by yourself.


  • Hello,

    thank you for your quick response.

    To your knowledge, are there tutorials for modifying the source code allowing communication with an android device?

  • There’s no porting guide for running SimpleBLEPeripheral example on CC2540 USB dongle. By the way, why don’t you use CC2640R2 or CC2642R if you want to try BLE connection.


  • I use the dongle to understand the programming of the CC2540.

    I am currently developing a PCB mounted with a CC2540 to control a hardware via a bluetooth application.

    According to the information provided by TI on the CC2540, it can be used to be controlled via an application :


    So if I understand correctly, the dongle can not meet my expectations? But in itself the CC2540 can be used for my application?

  • Hi Benjamin,

    I would recommend looking into the devices YiKai suggested you for new development. The big difference between these and the CC2540 is the USB interface which the newer ICs don't have. Unless you need the USB interface, the CC2640R2F and CC2642R are better suited for new designs as they have active software support and a well equipped SDK loaded with examples.

    As for "being controlled by an application", this would apply to all BLE radios. The application in question is however up to you to design/define. In some cases you could get away with something ready made for you, sometimes you need to implement your own custom application.