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.

CC2564B Codec Configuration

Other Parts Discussed in Thread: CC2564

Hi:

I'm using CC2564B for a audio project, with both HFP & A2DP supported. (we want BLE and A2DP coexsit ,so  A3DP fucntion is not enabled).

Here is the situation:Our mcu with only one I2S port , so we want the CC2564B and MCU share  the same CODEC (Wolfson8731).

After some tests:

1.The MCU's I2S disabled(set I2S pio to input),the CC2564 streamming SCO to CODEC successfully.

2.The MCU's I2S enabled,the MCU streamming A2DP SBC decoded data to CODEC successfully.

3.The MCU's I2S enabled,send HCI_VS_Write_CODEC_Config (0xFD06) to CC2564,the MCU streamming A2DP SBC decoded data to CODEC failed.

So, compare with 2 & 3, is there a vs command which can be used to close CC2564's codec ? (back to the status befort HCI_VS_Write_CODEC_Config was sent)

Thank!

  • Hi:

    I'm using CC2564B for a audio project, with both HFP & A2DP supported. (we want BLE and A2DP coexsit ,the A3DP fucntion is not used).

    Here is the situation:Our mcu with only one I2S port , so we want the CC2564B and MCU share  same CODEC (Wolfson8731).

    After some tests:

    1.The MCU's I2S disabled(set I2S pio to input),the CC2564 streamming SCO to CODEC successfully.

    2.The MCU's I2S enabled,the MCU streamming A2DP SBC decoded data to CODEC successfully.

    3.The MCU's I2S enabled,send HCI_VS_Write_CODEC_Config (0xFD06) to CC2564,the MCU streamming A2DP SBC decoded data to CODEC failed.

    So, compare with 2 & 3, is there a vs command which can be used to close CC2564's codec ? (back to the status befort HCI_VS_Write_CODEC_Config was sent)

    Thank!

  • Hi,

    Not sure I understood your question - the A2DP profile transfers the audio from CC256x to the MCU via the UART interface (and not via the PCM/I2S interface). So why do you need to send the Write_Codec_Config command?

    Can you please share the logger logs so I can understand exactly the commands that are being exchanged?

    Regards,
    Gigi Joseph.
  • Hi Gigi:

     Sorry for my english.

     I need to support both HFP and A2DP, so ,to meet this, the normal way is:

       MCU have 2 I2S channel, 1 for CC2564 ,1 for external CODEC(WM8731) ,so i can play SCO and A2DP streamming.

     (A2DP SBC is recieved via UART and decoded to PCM data for external codec)

    But currently my MCU have only 1 I2S channel (better price and smaller size),so there are only 2 options:

    1.SCO via HCI-UART , and it's a bad choice:e2e.ti.com/.../482883

    2.C2564 share the same external CODEC with MCU , so my MCU can use just 1 i2s channel  for SBC decoded data to external CODEC.

    (as the following picture)

  • Have you tried to define the CC2564 controller as slave on the PCM bus?

  • I have tried just yet,salve mode will work!
    I will do more tests,thanks a lot !