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.

CC2640: Voice design based on cc2650RC Ref design

Part Number: CC2640
Other Parts Discussed in Thread: CC2650RC, CC2650STK

Hi Team

Can we realize below function based on CC2650RC reference design?

1. Input voice from digital Micphone

     a. Transmit via BLE antenna

     b. Upload to PC via UART

2. Download voice data like music from PC

    a. Send it out via BLE antenna

    b. Play it by loudspeaker

  • Hi Daniel,

    What's your receiver for this case?

    For your first case :
    You can use our github audio receiver project to receive audio data and upload to PC through UART. We have also implemented a python script decoding the audio data and save it as a .wav file.

    The project can be found here :
    github.com/.../simple_central_audio_receiver

    The documentation can be found here :
    github.com/.../simple_central_audio_receiver.md
  • Is there any way of sending voice data to android phone.

    Regards-
    Adarsh
  • I remember that I had successfully send voice from sensortag_audio example to Android SensorTag App.
  • Thank you. Good to know that.

    Did you customise sensor tag app? What was the project you ran in sensor tag. Is there any resource available?

    -Regards
    Adarsh
  • No, I run everything by default.
  • Oh! Can you provide any reference that I can implement. When I tried to use sensor tag for transmitting audio to android, I could not see any microphone in android.
    -Regards
    Adarsh
  • If you build and run sensortag_audio in BLE Stack v2.2.1 to your CC2650STK, you should see the following screen shot on your Android SensorTag App after connection.

  • Thank you very much, YK Chen. I run sensortag_audio and I was able to locate audio service. But when I am

    I run sensortag_audio and I was able to locate audio service. But when I am trying connect for audio in android it is disconnecting as shown in the below image. And when I tried to switch on the sensor tag its not responding.

    I am not sure whether it is because of the sensor tag sleep time. Also there were warnings as below when I run the sensortag_audio app in CCS. 

    Any help or suggestion is really appreciated.

    Thanks & Regards-

    Adarsha

  • It seems that you don't use TI ARM compiler v5.2.6 in CCS. I suggest you to install TI ARM compiler v5.2.6 to build the example to test again. By the way, some Android would see this disconnected problem, especially some cheaper model. You can try to use another Android Phone to see if the connection is OK.
  • I tried in two android mobile - Moto G and Huawei honor 4X . It shows enabling audio then disconnects as mentioned above.
    Can you tell me which was the mobile you used?. Is it because the sensor tag going to sleep mode?
  • I test it with Sony Xperia Z2 and I am not sure if it is caused by SensorTag going to sleep mode in your case. You can use BLE sniffer to check what happens.