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 SCO output format via HCI

Other Parts Discussed in Thread: CC2564

Hi:

I route SCO data to host  with command HCI_VS_Write_SCO_Configuration (0xFE10) ,and write voice setting to 0x0040,then I playing a 1Khz wave file from PC,

which is connected with CC2564 running HFP profile , i caculated the data rate is about 8Kbytes/s, and i wrote these raw data to a .pcm file, when playing this file  use cool edit, both 8Khz 8bit  and 8K 16bit sounds wired.

the questions is:

1.Wha's the hfp SCO output format when using  HCI instead of on-chip PCM ?

2What's the difference when using eSCO(wbs) .

  • Hi,

    For NBS, the output format is the same as PCM (raw audio data). For WBS, it is encoded SBC audio data.

    Regards,
    Miguel
  • Hi Miguel:
    Before command HCI_VS_Write_SCO_Configuration (0xFE10) was send, the SCO is routed to PCM on-chip by default, the format is 8K 16bit, but when using HCI, i only got 8KBytes per sec, should it be 16K?
    Thanks!
  • Hi,

    Was it for a NBS connection or WBS connection? Do you have some traces of the HCI commands?

    Regards,
    Miguel
  • Hi:
    there is some useful trace:
    -------------------init-------------------------------------
    ......
    hci_vs_write_sco_configuration:1,0,0,0xff
    hci_write_voice_setting:0x40
    --------------------slc setup---------------------------------
    .....
    AT+BRSF=109
    ....
    ..........................Phone outgoing call-------------------
    <<04: 04 0A 24 F9 CB 21 30 0C 0C 02 7A 02 // eSCO connection setup
    >> 01: 29 04 15 24 F9 CB 21 30 0C 40 1F 00 00 40 1F 00 00 0C 00 40 00 02 88 03//accept
    << 04: 2C 11 00 01 01 24 F9 CB 21 30 0C 02 0C 04 3C 00 3C 00 02//eSCO connection success,packet len :60
    ------------------sco data via hci-----------------------
    << 03: 01 01 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // SCO data
    ....
    ....