Hi all.
I am working on a custom board based on Freescale iMX6 and Wl1831 to realize an audio streaming application. Host processor is connect to bluetooth chip via UART HCI and also uses PCM lines to connect to wl1831 codec as suggested by TI hardware guide. The problem is that wl1831 PCM is not moving any clock/FSync line. I would like to stream audio from host processor to wl1831 using PCM interface.
My setup is the following:
- bluez 5.31
- pulseaudio 6.0
- ti wl18xx driver and firmware 8.5R, TIInit_11.8.32.bts file
- kernel 3.0.35, with alsa support and bt-sco audio codec
With such setup, I am able to pair and connect to heasets or any mobile phone with HFP/HSP. So I think Bluetooth stack is ok, firmware file is fine and driver is working ok.
After connection to such devices with A2DP profile, when I try to play a sample file via paplay, the command stucks, as if the output is not produced waiting for something. Indeed, I checked with oscilloscope that wl1831 codec is not moving clock line, which is needed by bt-sco card codec driver to send PCM samples, since host processor is configured in PCM slave mode.
* Question: can you please confirm that wl1831 is configured as PCM master by default?
I think it is, because if I enable loopback mode and see clock generate, but when I disable loopback mode it stops. So I need your confirmation.
* Question: why wl1831 is not generating clock during bluetooth connection to headsets? Can you confirm that PCM audio path is enabled by default?
Thanks for help.