Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

CC2541: Can not open virtual COM port in Windows 10 to communicate with Bluetooth module with CC2541

Part Number: CC2541

Hello,

I'm using a HM-10 Bluetooth module with a CC2541F256 chip, I had a Arduino board to connect to it. I tried to use an existing software installed on my laptop to get the data from HM-10 module. However the software could not communicate with CC2541 and HM-10 module, it always showed an error either "can not open the com port" or "the com port is occupied". More information for your reference:

1. I used PUTTY software to communicate with this Bluetooth module in late 2019 and it worked well. The OS on my laptop was Windows 10.

2. However, I tried same PUTTY in Windows 10 on same laptop and same HM-10 module recently, The PUTTY could not talk to the module anymore. I could not send any data from PUTTY to the Bluetooth module, also no any response in PUTTY.

3. I tried other public software: Serial Debug Assistant and Realterm. Both failed to talk to the module too. My laptop always showed the Bluetooth module "Paired" but not "Connected", I tried to remove the module and uninstalled the driver, the issue was not solved. I used a different laptop with a Windows 10, the issue was same and could not talk to the module.

4. I did a research and found the issue I have is similar as the issue shown below:

answers.microsoft.com/.../73b985bb-43d2-4dd3-968c-6ddf4abfbb46

The issue should be caused by the Windows 10 (probably I upgraded the Windows 10 on my laptop), the new Windows 10 is using SPP1.2, the software I used should use SPP1.1 but it's not supported by Windows 10 now. It looks like Microsoft did not solve it after the issue was reported since2015.

The only software can communicate with the module under Windows 10 is Bluetooth LE Lab, it could talk to the Bluetooth module and worked well, however I can not use this software to get a lot of data from CC2541 Bluetooth module and save them into a file for further analysis. I checked the connection between the module and this software on the laptop, it looks like this software,Bluetooth LE Lab, does not use a virtual com port on the laptop. This should be the reason why it can talk to the module.

Currently I would use an existing software(PUTTY, Serial Debug Assistant or Realterm) instead of developing  own software for data analysis, is there anyway I can solve the issue and use these software with HM-10 Bluetooth module? thanks in advance.

Regards,

Shaonian

  • As I know, you need serial-to-USB to connect CC2541 HM-10 module to communicate with desktop. If it doesn’t work, there might be something wrong in your serial-to-USB cable or its connection between HM-10 module and desktop. By the way, HM-10 and its firmware are not provided by TI, you might need to contact manufacturer to help you.

  • Hi YiKai,

    You did not understand my question. I want to have a communicate between CC2541 and the Bluetooth of my computer through Bluetooth wireless, why should I need a "serial-to-USB to connect CC2541 HM-10 module to communicate with desktop"? Also, the module is simple and CC2541 is the key device on it and there is no problem with driver, the problem is associated with the virtual COM port in Windows 10.

    Regards,

    Shaonian

  • If you mean to communicate CC2541 with Windows Desktop through BLE wireless, you would need to have BLE module connected to Widows desktop. We usually use another CC2541 running Hosttest and connecting to a Windows desktop which runs BTool to connect to CC2541 HM-10 through BLE protocol. Hope this explanation clarify the situation for you.