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 use example sensortag_audio in BLE stack 2.2

Other Parts Discussed in Thread: CC2650

Hi dear all,

I have setup a cc2650 Sensortag with the sensortag_audio example provide in BLE stack 2.2. Also I have a TI simplelink starter APP installed on my phone. But I do not know how to get the audio data out or hear the voice. Could anyone please give me some advice? 

Thanks a lot.

  • Hi,

    We currently don't have audio support on sensortag app on iOS platform due to the connection interval and too low throughput for. If you have android phone, then the audio profile will be discover, but then all you can see is if there is data over the air.(You won't be able to listen to your own recording)

    I would recommend you to use CC2650LaunchPad with simple_central_audio_receiver project to do the verification.
    Documentation can be found here :
    github.com/.../simple_central_audio_receiver.md

    Project can be found here :
    github.com/.../cc2650lp

  • Hi Christin,
    Thanks a lot. As I want to get the raw PCM data out from the ccc2650 SensorTag. Do you have any suggestions? Maybe I can write the data into the flash on the board.

    Cheers
  • You can just set applyCompression to false, then the PDM driver wiil give you PCM data 

    PDMCC26XX_Params pdmParams =
    {
      .callbackFxn = HIDAdvRemote_pdmCB,
      .useDefaultFilter = true,
      .decimationFilter = NULL,
      .micGain = PDMCC26XX_GAIN_18,
      .micPowerActiveHigh = true,
      .applyCompression = true,
      .startupDelayWithClockInSamples = 512,
      .retBufSizeInBytes = BLEAUDIO_HDRSIZE + BLEAUDIO_BUFSIZE,
      .mallocFxn = (PDMCC26XX_MallocFxn) HIDAdvRemote_audioMalloc,
      .freeFxn = (PDMCC26XX_FreeFxn) HIDAdvRemote_audioFree,
      .custom = NULL
    };