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.

CC2564C: the HFP and A2DP function

Part Number: CC2564C
Other Parts Discussed in Thread: CC2564

In CC2564C datasheet, a note said the HFP and A2DP cannot be supported simultaneously, does this mean we can not switch these two modes freely? E.g. the smartphone is playing music through BT classic headset, and there is a incoming call, can we switch to the call and answer that via headset?

The CC2564C device uses the coprocessor to perform the LE functionality or to execute the assisted HFP 1.6 (WBS) or assisted A2DP functions. Only one of these functions can be executed at a time because they all use the same resources (that is, the coprocessor; see Table 3-1 for the modes of operation supported by each device).

  • Hi Huma,

    You are correct you can only use one at a time. However, could switch freely. Another thing I would recommend is not using WBS for HFP or maybe using A2DP instead of A3DP/

    Best,

    Rogelio

  • Hi Rogelio,

    Thank you for your reply.

    In my understanding, If I want to freely switch between these two functions, does it mean that I can use the HFP function in assisted mode and run a unassisted mode A2DP in the external processor simultaneously. So the external processor must deal with encode and decode.Is this correct?

    In my understanding, if i want to enable the HFP function, it needs to communicate and configure with each other after the device is paired and connected to the phone. So i must have both A2DP and HFP profiles initialized. Is this correct?

    I can find if i use assisted mode in one of HFP or A2DP, the CC2564C will deal with it's encode and decode. But i only use one audio stream at a time, the audio or phone call, why the CC2564 can not switch the audio stream to deal with encode and decode.

    I'm sorry for raising so many questions to you. I'm just a beginner, thank you very much.

  • Hi Huma,

    In my understanding, If I want to freely switch between these two functions, does it mean that I can use the HFP function in assisted mode and run a unassisted mode A2DP in the external processor simultaneously. So the external processor must deal with encode and decode.Is this correct?

    If you are using A2DP you will need an external codec. 

    In my understanding, if i want to enable the HFP function, it needs to communicate and configure with each other after the device is paired and connected to the phone. So i must have both A2DP and HFP profiles initialized. Is this correct?

    Yes both must be initialized.

    I can find if i use assisted mode in one of HFP or A2DP, the CC2564C will deal with it's encode and decode. But i only use one audio stream at a time, the audio or phone call, why the CC2564 can not switch the audio stream to deal with encode and decode.

    I believe in theory you could.... however this functionality isnt supported by the bluetooth stack. I believe you would have initialize and unintialize using WBS for HFP each time you would like to switch between them.

    Here is also a relevant threads to help in your development.

    https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/765057/cc2564c-cc2564c-concurrent-a2dp-and-hfp

    e2e.ti.com/.../cc2564c-hfp-a2dp-example-code

    Best,

    Rogelio

  • Thank you very much. And sorry for late reply.