Hello,
for our application we are using the CC2564B in combination with dotstack. we have SPP running as well as assited A2DP sink but default the CC2564B outputs the PCM framesync at 44kHz. our codec does not take this frequency it takes 22kHz. How can we configure the SBC to output 22kHz???
at the wiki it table HCI_VS_Write_CODEC_Config (0xFD06) states the following:
Frame-sync frequency | 4 | 100 Hz – 173 kHz | Frame-sync frequency in Hz |
Fsynch Multiplier |
1 |
32/64 |
This feild is only relvant to CC256XB from SP 0.2 !!!
When setting the values 0x00 or 0xFF the command will act the same as previously, but when entering a value of 32/64 the Clock Rate will be: Clock Rate = Fsynch Multiplier X Frame Synch frequnecy , for example 44,100Hz X 32 = 1441,200Hz |
and
PCM input sample | 1 | 0x1 – 0x9 | The PCM sample frequency rate of the input PCM bus. This parameter is valid only when the audio source is the host. When this parameter is different from the SBC input sample frequency parameter the SARC will be used for sample rate conversion. 0x01 – 8000 Hz 0x02 – 11025 Hz 0x03 – 12000 Hz 0x04 – 16000 Hz 0x05 – 22050 Hz 0x06 – 24000 Hz 0x07 – 32000 Hz 0x08 – 44100 Hz 0x09 – 48000 Hz |
SBC input sample frequency | 1 | 0x0 - 0x3 | The sample frequency rate of the PCM input to SBC encoder. Note that when this parameter is different from the PCM input sample frequency, the SARC is used for sample rate conversion. 0x0 – 16000 Hz 0x1 – 32000 Hz 0x2 – 44100 Hz 0x3 – 48000 Hz |
at the moment we set the SBC Input sample freq to 0x02. (default) but we require 22kHz as mentioned
How can we setup the SBC for 22kHz framesync??
is there more documentation availeble on the multiplier?? the explanation above does not explain in full.
please advice.
btw: hardware is currently in production and will be received in 3 days from now our goal is to present the firts samples with the CC2564MODNCMOET at MWC in march so we are on a tight schedule
M.Broens
mBedit