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.

CC256XSTBTBLESW: HSP Demo not receiving data

Part Number: CC256XSTBTBLESW
Other Parts Discussed in Thread: CC2564MODNEM,

Hello,

I am working with the following system: STM3240G-EVAL Board + CC256XEM-STADAPT Board + CC2564MODNEM Board and I am exploring the CC256XSTBTBLESW.

I have not an external codec mounted on the CC256XEM-STADAPT Board, but I am successfully running the AUDDemo using the STM3240G-EVAL Board DAC.

Now I would like to configure my board as an headset, to send and receive audio data, so I am running the HSPDemo.

After the OpenServer command, I can successfully connect to my smartphone and, when I  start a call, I see the Audio Connection indication, but I cannot see any etHDSET_Audio_Data_Indication event coming.

Am I missing something? Does this demo need an external codec mounted on the CC256XEM-STADAPT Board?

Is it correct to expect that should be possible to receive audio data from the smartphone and send them back to the DAC through the I2S, adding the missing implementation?

Thank you for your help

Arianna

  • Hi Arianna,

    Unlike the A2DP demo where the audio data is sent to the host over HCI for processing, for the HSP demo the audio is set by default to be decoded to PCM by the controller and sent over I2S directly to a codec or I2S interface of the host. This is due to the timing requirements associated with SCO audio that the HSP profile uses. As such, once you send the manageaudio command over the demo CLI, the host will not get any audio data notification, as the audio is routed directly to the I2S interface.

    That being said, you should be getting audio on your setup as the STM3240G should have an onboard I2S interface and codec. This is also the setup supported by the user's guide here:

    http://www.ti.com/lit/swru498

    Have you ensured you have the R11,R18,R19 resistors set correctly for the HSP application as described in section 5 of the guide above?

    Regards,

    Michael

  • Hi Michael,

    thank you for your quick and clear reply.

    Yes, I was missing some resistors: I read the documentation but it was not so clear for me why the I2S configuration was needed!

    Now I got it, thanks!

    Regards,

    Arianna