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.

CCS/CC2650STK: Please provide a CC2650STK Audio recording example project and ask for a related very detailed demo video

Part Number: CC2650STK
Other Parts Discussed in Thread: LPSTK-CC1352R

Tool/software: Code Composer Studio

The information on Board of CC2650STK

Model: CC2650STK

REV: 1.5

FW Rev: 1.42

The product I purchased is like 

Based on the following questions,please give me a detail steps list (include SW and HW requirement,build steps, related CCS configuration) or a video to reference. Thanks.

1.How to record the audio with a single CC2650STK sensor tag ? 

2.How to receive the audio data over BLE with the following HW setup?

The note book with a Bluetooth device( not TI device) is then connect to  a CC2650STK sensortag.

Is it possible that the note book can receive the streaming voice data continuously?

3.There is no sensortag_audio example on C:\ti\simplelink\ble_sdk_2_02_03_08\examples\cc2650stk\

  The directory just have 'sensortag' and 'simple_peripheral'.

  Please provide me a sensortag_audio example that let me to use CCS to import project to build the sensortag_audio.c that located on C:\ti\simplelink\ble_sdk_2_02_03_08\src\examples\sensortag\cc26xx\app\

  According to https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/565907?tisearch=e2e-sitesearch&keymatch=CC2650STK%20AND%20Voice%20AND%20DEVPACK

  It said that the "sensortag audio project" should work out of box.(Jan 9, 2017 9:31 AM). But I didn't find the way to let the sensor tag work.

4. According to the content on web-site http://software-dl.ti.com/simplelink/esd/simplelink_cc2640r2_sdk/2.20.00.49/exports/docs/ble5stack/ble_user_guide/html/voice/ble_voice.html#ti-voice-profile-vogp

   The HW setup is : the receiver is CC2640R2 , the streamer is CC2650STK.

   Is it possible that the receiver can be replaced with CC2650STK + DevPack?

   And plug-in the NB, the device manager will display the UART port(COM n), use the COM n to receive the PDM or PCM data. Could you please reply me that it is work? 

5.Can you help me figure out where are the GPIO, BCLK, ADx in the following two pictures?

GPIO: microphone power supply
BCLK: audio clock signal
ADx: PDM input stream from microphone

 

Thanks so much.

Best regards,

MM

  • Hi,

    First of all, let me tell you that CC2650STK is in the process of being discontinued. I am not sure a new design should be based on this product. In addition, TI provides an audio plugin that might interest you.

    1 & 3- The audio example is not located inside the simplelink SDK but inside the tirtos SDK. You will find it here: tirtos_cc13xx_cc26xx_z_zz_zz_zz\examples\TI\CC2650STK\pdmstream
    Sometimes some examples are removed from the SDK, so you can try to look in the older SDKs to find the example you want. However keep in mind that some examples might be removed because of some issues (I am not fully aware of this audio example).

    2- You can find an audio example using I2S (not PDM) here: https://github.com/ti-simplelink/ble_examples/tree/simplelink_cc2640r2_sdk-2.20/examples/rtos/CC2640R2_LAUNCHXL/bleapps

    4- The description of your solution seems corect

    5- Please review the schematic of the CC2650STK for details

    I hope this will help,

    Regards,

  • Hi Clément,

    Thanks for your reply.

    I've tried to immigrate the C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650stk\sensortag_audio to  C:\ti\simplelink\ble_sdk_2_02_03_08\examples\cc2650stk

     

    The attached file is my project sensortag_audio.zip

    @ I've build it successfully and flash multiple images ok.

    @ The following is my test steps:

    CC2650STK Sensortag power on --> Open the Android Sensortag App and Connect the device

    Select the BLE Audio Control --> then it will enter new page that shows Volume Meter, Connection Status, Current connection Interval

    The Connection Status will show Starting Service ->Connect ->Enabling audio

    Then I press the User button of sensortag , the Connection Status will show  Audio Rx -> Idle ->Disconnect

    It can not demo "voice over BLE" that described in http://software-dl.ti.com/lprf/simplelink_cc2640r2_latest/docs/blestack/ble_user_guide/html/voice/ble_voice.html#ble-voice-frame-data

     

     

     

    @ The problem is when I press the user button of sensortag,

    the error happened,it will go to PDMCC26XX_STREAM_ERROR, then the connection status becomes "Idle" in android app (SensorTag App).

    if (events & PDM_EVT_BLK_ERROR) {
    /* Notify caller of error */
    streamNotification.status = PDMCC26XX_STREAM_ERROR;
    object->callbackFxn(pdmHandle, &streamNotification);
    }

     

    Can you please help me check where my project configuration went wrong?

    Thanks a lot.

    Best regards,

    MM

  • Hi,

    The problem seems to be due to the PDM driver itself. It would be nice to verify that.

    Please do the following:

    - Without the BLE connection, do you successfully read the audio data and store it in a buffer?

    If not, this part of the system will require to be fixed first.

    Regards,

  • Hi  Clément,

    Is there sensortag_audio project for cc2650stk in platform of ble_sdk_2_02_03_08, tirtos_cc13xx_cc26xx_2_21_01_08 and xdctools_3_32_00_06_core?

    There are too few reference materials.

    Best regards,

    Yapi

     

  • Hi,

    The exact example you are asking for does not exist. You will be required to port it from other versions as I suggested.

    Please note that more examples are available for the LPSTK-CC1352R.

    Regards,

  • Hi Clément,

    I try to use gatttool, please check the history in the attachment.

    After clicking the user button of the cc2650stk sensor tag multiple times, the red LED is always on, and then suddenly disconnected.

    Do you know how to use gatttool to check the problem?

    Which UUID Services should I confirm?

    Thank you.

    Log History I :

    Log History II  :

    Best regards,

    MM

  • Hi Clément,

    Sorry,correct the error description :

    After clicking the user button of the cc2650stk sensor tag multiple times, the red LED is always on, and the audio frame is stopped, and the sensortag can not write/read anything.

    When write the command of "disconnect" then the sensortag green led is blinking.

  • Hi,

    The description of the problem, makes me think to an error in the BLE connection. This error might be due to various elements, maybe a memory leak.

    Try to use the ROV once the error has occurred. You can use the debugging chapter of the BLE Stack User's guide to help you in this debug.

    Kind regards,