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 HFP Audio TX Quality Issue

Other Parts Discussed in Thread: CC2564

Hi All,

With latest patch “initscripts-TIInit_6.7.16_bt_spec_4.0.bts”, one of my customer meet below CC2564 HFP audio TX quality issue. Would you please give a hand? Thanks a lot.

Detailed description is as below,

"

The problem is that HFP connection is OK and hear clear in rx-side(local phone, phone->CC2564, audio quality is ok), but hear a lot of noise in tx-side(remote phone, CC2564->Phone, quality in phone side has lots of noise). I test the waveforms of PCM interface which is as below. The audio out pin seems to be a problem.   

"

1. Data-in & Fsync.jpg

2. Data-out & Fsync fractionated gain

3. Data-out & Fsync

4. PCM clk & Fsync

BR,

Lina

  • Hi Lina,

    Why do you think that the issue is in the CC2564 side? Also, which issue do you see in the PCM DOUT pin? BTW, if there were an issue on the CC2564 PCM DOUT pin then the issue would be heard on the CC2564 side and not on the peer BT side.

    Regards,
    Miguel
  • Hi Miguel,

    We tested our protocol stack and audio sample, they have no problem. We used the same codec hardware and the same SCO voice path(SCO over PCM) in other products, their audio qulity are good in two-side.  I printed the tx-side audio data sampled by the codec chip. They are OK. The audio data is sent to CC2564 by the PCM interface, the CC2564 transmIt the audio data to remote phone, but hear a lot of noise in the remote phone. I test the waveforms of PCM interface. There is deviation in the PCM Data-out and Fsync. You can found the deviation in the picture 2. I think the deviation is a problem. 

    Regards,

    Wison

  • Hi Miguel,
    We tested our protocol stack and audio sample, they have no problem. We used the same codec hardware and the same SCO voice path(SCO over PCM) in other products, their audio qulity are good in two-side. I printed the tx-side audio data sampled by the codec chip. They are OK. The audio data is sent to CC2564 by the PCM interface, the CC2564 transmIt the audio data to remote phone, but hear a lot of noise in the remote phone. I test the waveforms of PCM interface. There is deviation in the PCM Data-out and Fsync. You can found the deviation in the picture 2. I think the deviation is a problem.
    Regards,Wison
  • Hi Miguel,

    We tested our protocol stack and audio sample, they have no problem. We used the same codec hardware and the same SCO voice path(SCO over PCM) in other products, their audio qulity are good in two-side. I printed the tx-side audio data sampled by the codec chip. They are OK. The audio data is sent to CC2564 by the PCM interface, the CC2564 transmIt the audio data to remote phone, but hear a lot of noise in the remote phone. I test the waveforms of PCM interface. There is deviation in the PCM Data-out and Fsync. You can found the deviation in the picture 2. I think the deviation is a problem.

    Regards,

    Wison
  • Hi Wison.

    It may be a PCM configuration issue then. Did you check the PCM configuration of the CC2564 vs external codec? Do they aligned? i.e. Channel offset, edge, polarity, ect

    Regards,

    ~Miguel

  • Hi Miguel,

    I have checked the PCM configuration many times. The followed is my PCM configuration.

    #################################################################
    ## START of CC2564 HFP
    #################################################################
    Send_HCI_VS_Write_SCO_Configuration 0xFE10, 0x00, 0x00, 0x0000, 0xff
    Wait_HCI_Command_Complete_VS_Write_SCO_Configuration_Event 5000, 0x00, 0xfe10, 0x00, 0x64, 0x00

    Send_HCI_VS_Write_CODEC_Config 0xFD06, 0x0100, 0x01, 0x00001f40, 0x0001, 0x00, 0x00, 0x00, 0x0010, 0x0000, 0x01, 0x0010, 0x0000, 0x00, 0x00, 0x0010, 0x0011, 0x01, 0x0010, 0x0011, 0x00, 0x00
    Wait_HCI_Command_Complete_VS_Write_CODEC_Config_Event 5000, 0x00, 0xfd06, 0x00

     

     

  • Hi,

    The question is if they are aligned with the external codec.

    Regards,
    Gigi Joseph.
  • Hi, Gigi

    The following picture is the codec audio interface mode. Our mode is figure50, LRCLK=8K, BCLK=256K ,16 bit DSP mode(PCM mode) ,right-aligned. Is there a problem with this configuration?