Hi,
In am335xevm_sk board schematic Bluetooth audio connected with MCASP0. But in board file there is no initialization part for MCASP0.
In SK board Bluetooth audio will work or not?
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.
Hi,
In am335xevm_sk board schematic Bluetooth audio connected with MCASP0. But in board file there is no initialization part for MCASP0.
In SK board Bluetooth audio will work or not?
HI Sangili Kumar,
We have added bluetooth HFP audio over mcasp for AM335xEVM only. Similar changes can be done for AM335x SK and get it work.
Patches in reverse order
92387a2: sound : mcasp: specify McASP sync or async operation mode
ba9869b: am335x: sound-soc-davinci: make sure transmitter is stoped before restarting.
fe6f9ec: am335x:sound-soc:initialize sysclk variable to appropriate value
96790f7: am335xevm: davinci-mcasp: remove unwanted logs
429a506: am335xevm: davinci-mcasp: Set one bit delay only for slave mode configuration
ad1f8db: am335x: sound-soc-davinci:Remove trasmit state machine reset from rx sequence.
ef13089: am335x: sound-soc-davinci: Correct configuration for ASYNC mode operation
7d64ec6: am335x:android_defconfig: Enable WL1271 BT PCM driver
3875c8d: am335x: sound-davinci: Added 1 bit delay for rx channel,for BT record
1ba3b64: am335x: Add pin mux configuration & wl1271bt_codec_device platform data for macasp0
f53486d: sound-soc-davinci: Create macasp<->bt-pcm interface
eb2a4dd: McASP: Add support for McASP master mode
6acf831: sound-soc: Dummy BT PCM driver for wl12xx
Regards,
Arun
Hi Arun,
Before try this patches i just tried the Bluetooth audio paring with my Laptop.
AM335xevm_sk pairing with my laptop in A2DP mode and its playing the audio from laptop by SK kit. Regarding that i've following questions,
1. What else your above mentioned patch do other than A2DP audio?
2. In board-am335xevm.c there is no initialization part for Bluetooth audio (MCASP) but audio is working, so processor transfering the audio via UART or MCASP to Bluetooth module?
3. Above mentioned Bluetooth HFP audio patches support GSM call mode?
I've probed the MCASP pins on voltage translator while playing the audio but there is no proper clock.
Could you please clarify me?
Hello SangiliKumar,
ON AM335xEVM two different BLUETOOTH audio profiles are supported.
1. A2DP
This profile is intended for Music PlayBack and Android will route the Audio over Bluetooth even before it reaches Audio HAL
2. HFP/HSP
This profile is for 8KHz voice ie Calls.. Android routes this type of Audio to Audio HAL and then to McASP. McASP channel will be connected to bluetooth chip. We have a dummy sound driver for this connection.
To answer your questions.
1) The patches are for HFP/HSP Bluetooth profile. A2DP works without these patches.
2) The patches are only applied for AM335xEVM, similar configuration would be required for AM335x SK.
3) Yes
We have tested HFP from command line using tinyplay selecting the HFP hw device.
Please let me know if you need any further clarification.
Regards,
Arun
Hi Arun,
Yeah, you are right i'm aware of HFP profile for GSM call.
Actually my problem is i need to talk GSM call from Bluetooth headset but unfortunately AM335x have just 2 number of MCASP so we can't connect 3 audio devices (BT, GSM Modem, Audio codec) hence we tried the below mentioned audio routing.
In this case if i happen to have GSM call over Bluetooth headset i need to do bypass the signal two times, these are one is inside the AIC3262 second one is inside the AM335x.
Is this possible or is there any other method to connect these 3 audio devices ?
Please let me know if any, and check the detailed explanation of my problem in below mentioned post
http://e2e.ti.com/support/data_converters/audio_converters/f/64/p/296630/1041381.aspx#1041381