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.

CC2564 I2S / PCM codec configuration

Other Parts Discussed in Thread: CC2564

Hi

we are trying HFP with SCO data for a call terminating at BT controller CC2564.

The required PCM lines from cc2564 are interfaced to external codec and we are using vendor commands for sco and codec configuration (sco, codec and codec enhanced commands) as per the requirement / suggestion.

I am seeing strange issue when i configure cc2564 to be master I am able to hear audio on remote phone but not from remote phone to headset. At headset it is all noise / garbled 

If i configure external codec as master I am able hear voice on headphone from remote phone but it all noise on remote phone when talked from mic.

I have checked both PCM and I2S mode and corresponding edge triggers in particular configuration and even bit clock offset for ch1 and ch2 in /out.

I see many threads on this issue but none has posted the resolution to this issue. If someone has resolve this issue kindly reply how it was resolved and what could be potential problem for this behavior.

Thanks 

regards

  • Hi,

    Can you start with using the configuration that we use and then start using a different one?

    ***
    Send_HCI_VS_Write_CODEC_Config 0xFD06, 3072, 0x00, 8000, 0x0001, 1, 0x00, 0x00, 16, 0x0001, 1, 16, 0x0001, 0, 0x00, 16, 17, 0x01, 16, 17, 0x00, 0x00
    ***

    You can also check the configuration with loopback mode enabled. This way, you can tell if your configuration is correct.

    Regards,
    Gigi Joseph.
  • Hi Joseph,
    We tried loop back with cc2564 as I2s master and it sound ok with some noise (the in and out PCM wave forms do not match exactly)
    I will try the configuration you suggested and check, will let you know the observations
    Thanks for the response

    regards
    Nitin
  • Hi Joseph,
    The audio is not all noise but discontinuous audio but cannot make out what i talked from other end. Also When i reverse the master slave configuration the audible reception also reverses as we observed before.
    Tried few other options and settings but could not get it working. Do you have any other suggestions that i can try?
    Does cc2564 supports that i am trying to do!! The spec and data sheet shows that it is capable to route sco over PCM interface to an external codec just getting basic doubt now since nothing is working as expected.

    It looks like always slave (Ether codec or BT conrtoller) trying to sample in coming or out going data is not able to sample the data properly is causing this problem.

    regards
    Nitin