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.

CC2564MODA: interface used in Assisted A2DP Sink mode

Part Number: CC2564MODA
Other Parts Discussed in Thread: CC2564

In page 29 in datasheet as shown below
in A2DP Sink architecture, we don't need to use AUD pins like AUD_IN, AUD_OUT, AUD_CLK, AUDIO_FSYNC, the audio data will be transferred by the connected UART, is that right ?

  • Hi,

    Yes for A2DP, the interface used is the UART interface to the host processor.  For assisted A2DP (A3DP), the coprocessor in the controller is used and the PCM bus from the BT controller should be used to avoid any sound quality issues. 

    Regards,

    Travis

  • Hi, 
    yes, So I should be able to have the audio buffers periodically in my app coming from L2CAP, right ?
    but what is audio SBC refer to and how shall it happen in host processor?
    Does assisted A2DP (A3DP) has advantage over A2DP regarding sound quality issues ?

  • Hi Hanna,

    yes, So I should be able to have the audio buffers periodically in my app coming from L2CAP, right ?

    Yes. The audio data will come in over the HCI/UART interface via ACL link. You can choose to buffer the audio however you wish. 

    but what is audio SBC refer to and how shall it happen in host processor?

    SBC is the encoding/decoding that takes place for A2DP BT profile. An encoding/decoding scheme is standard for all audio enabled applications on BT. To learn more I highly recommend you look at the A2DP profile specification on the Bluetooth website. Chapter 4 will tell you everything to know about audio codec requirements and there is plenty of info on this around the internet as well.

    Does assisted A2DP (A3DP) has advantage over A2DP regarding sound quality issues ?

    It does not really impact sound quality. You could have great audio quality on both assisted and non-assisted mode. The core benefit of using assisted mode is that the CC2564 will handle the encoding/decoding of the audio for you. This will offload the coding process from your host to the CC2564 co-processor. 

    Jesu

  • Hi Jesu,
    regarding received audio buffer in non-assisted mode, Could it be received in HOST processor in either OS and non-OS applications ?  

  • Hi Hanna,

    Yes. In non assisted mode all audio is transferred to the host via HCI/UART for the host to handle. It does not matter if the host is running OS or non-OS. What exactly is your concern with the audio buffer? Maybe if I understand what you are trying to do or why audio buffering is a concern I can better assist you.

    Jesu

  • Hi Jesu, 
    Now we have the CC2564MODA module and STML4 HOST, I would like to run it using A2DP sink architecture.
    I can't find the executables which will be flashed into HOST processor, we downloaded this Bluetooth stack, Is there a clear application note or datasheet that is explaining what to do next ?  

  • Hi Hanne,

    What you linked is the service pack for the device you are using. This is a patch file for the firmware code running in the bluetooth controller. A good place for you to get started is look at our STM32 getting started guide for using TI Bluetopia stack with CC2564. We have a Bluetopia stack specifically for STM devices and it includes an A2DP sink demo which named "AUDDemo" in the SDK. The HW section may or may not be helpful to you. I'm not sure what HW you are using. But it will at least tell you what SW you have to download, how to run it and at towards the end there is links to each SW example we have. You will probably want to look at the AUDDemo one in chapter 10.

    Jesu

  • Hi, 
    yes I saw the Bluetopia stack  dedicated for STM32 devices, but all I can see that the examples uses Keil and IAR.
    we are using STM32CubeIDE which uses GCC compiler, Is it possible to take the Bluetopia APIs and compile with GCC compiler, Bluetopia have compiled library for GCC compiler ?

  • Hi Hanna,

    At this point you are asking how to port the Bluetopia stack to your environment. I'm not sure how to go about that. Please refer to this wiki to get more information from our partners.

    Jesu