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.

WL1271L: How to do Bluetooth audio routing via PCM in TiWi-BLE



We are using LSR TiWi-BLE module which uses Texas Instruments WL1271L chip

WE are trying to enable A2DP/Heaset via PCM interface, we followed below links and tried,

http://e2e.ti.com/support/wireless_connectivity/f/660/t/333272

http://e2e.ti.com/support/wireless_connectivity/f/307/t/272288

http://e2e.ti.com/support/wireless_connectivity/f/307/t/85657

We have used below hci commands, and enabled the audio code in the BT module,
Now we are able to get the I2s clock output from the BT Module, but there is no I2S data coming out of the Device even after playback/record is initiated via bluetooth stack (here bluez).

So Is there any other HCI VS command, that needs to be called specifically in sequence before playback/record via PCM?

Enable Audio Routing via PCM in BT Module

HCI_VS_Write_CODEC_Config (0xFD06)106

$ hcitool cmd 0x3f 0x106 0x0 0x8 0x0 0x40 0x1F 0x0 0x0 0x1 0x0 0x0 0x0 0x0 0x10 0x0 0x1 0x0 0x0 0x10 0x0 0x1 0x0 0x1 0x0 0x10 0x0 0x11 0x0 0x0 0x10 0x0 0x11 0x0 0x1 0x0

HCI_VS_Write_CODEC_Config_Enhanced (0xFD07) 107

$ hcitool cmd 0x3f 0x107 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0


HCI_VS_Write_SCO_Configuration (0xFE10)

$ hcitool cmd 0x3f 0x210 0x0 0x0 0x0 0x0 0x0



HCI_VS_A3DP_Codec_Configuration (0xFD8E)

$ hcitool cmd 0x3f 0x18e 0x0 0x04 0x1 0x0 0x0 0x4 0x4 0x0 0x00 0x00 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0