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.

How to change interface from usb to uart in usb dongle

Other Parts Discussed in Thread: CC2540, CC2541

 I can used BTool to send HCI command to control USB dongle through USB interface. I am wondering if I can change interface from usb to uart. I connect the UART pin of CC2540 with the USB to UART cable directly and tried to use Btool to connect this USB dongle. But the communication can't build. where do I need to change in the hosttestapp project. If this function can implement. So I can use MCU to send HCI commnd to control CC2540 through UART interface in my project. Thanks

  • We actually already have configurations to use HostTestRelease with UART. Just change from "CC2540USB" to "CC2540EM". Our CC2540DK kit includes the hardware set up to use UART. You can then use an MCU to talk to the CC2540.

    Note that you can do this with CC2541 as well.

  • Thank you so much. I have established connection successfully with CC2540 through UART. Thank you your help.

    My another question is that if I also can implement the HCI function through UART in the SimpleBLECentral and SimpleBLEPeripheral project. What should I do. Thank you again for your help.