I've created my BT application based on the example hci_audio_gateway. The difference from the example is PCM audio which I trying to use but it doesn't work.
I configure PCM audio after start BT stack:
memset(&pcmConfig, 0, sizeof(pcmConfig));
pcmConfig.mode = WICED_HAL_PCM_MODE;
pcmConfig.role = WICED_HAL_PCM_SLAVE;
pcmConfig.pcm_param.fillData = WICED_HAL_PCM_FILL_0S;
pcmConfig.pcm_param.frame_type = WICED_HAL_PCM_FRAME_TYPE_SHORT;
pcmConfig.pcm_param.lsbFirst = WICED_HAL_PCM_MSB_FIRST;
pcmConfig.pcm_param.rightJustify = WICED_HAL_PCM_DISABLE_RIGHT_JUSTIFY;
But it seems not enough: SCO was opened successfully but I have not heard audio in BT headset. What have I missed in PCM configuration?
I found one more function for configuration:
wiced_hal_pcm_select_pads - But I have not found any examples of using it.
Hello NiSt_4376486 ,
Sorry, the CYW20721 is not a product supported within the broad market, thus in community. Please contact your local Cypress team or Cypress FAE. They will help you to get more support for these queries.