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.
Tool/software: Linux
my device connect like this .
1 )Now I can hear the music playing on am5728 via bluetooth headset. like http://processors.wiki.ti.com/index.php/WL18xx_TI_Bluetooth_Stack_AUDM_Demo_App
But how do I get an audio message from a bluetooth headset?
2 ) I tried another way, linke http://processors.wiki.ti.com/index.php?title=WL18xx_TI_Bluetooth_Stack_HFPM_Demo_App
I can make phone calls through the mobile phone connected to am5728, but there is no sound. Does the PCM port need a separate configuration?
Hello,
hello said:1 )Now I can hear the music playing on am5728 via bluetooth headset. like http://processors.wiki.ti.com/index.php/WL18xx_TI_Bluetooth_Stack_AUDM_Demo_App
now i hace some question about AUDM DEMO APP to get audio from the microphone of a bluetooth headset.
But how do I get an audio message from a bluetooth headset?
The AUDM Demo App implements A2DP profile. When the application is configured in Sink role, you can connect the app to a smartphone or any other source and play music. Similarly, when the application is configured as Source, you can play a locally stored music file to a remote Sink like a Bluetooth headphone or speaker. Is this something what you are trying to do?
hello said:2 ) I tried another way, linke http://processors.wiki.ti.com/index.php?title=WL18xx_TI_Bluetooth_Stack_HFPM_Demo_App
I can make phone calls through the mobile phone connected to am5728, but there is no sound. Does the PCM port need a separate configuration?
Yes, the PCM port (McASP) on the AM5728 must be separately configured. Unlike the A2DP implementation, the data path for HFP/HSP is over the PCM interface.
Best regards,
Vihang
Hi ,
1>Do you mean configuring the BT PCM interface via the LinuxHFRM_HF. C file? And how do I determine if the PCM port is working properly after I finish this demo?
#ifdef wl18xx /* Send Vendor Specific command to the Wilink Bluetooth FW. Configure the PCM * * interface parameters to: 16KHz sample rate, PCM clock rate 1.6MHz, PCM slave * * FSynch- 1 clock with inverted polarity, 16 bit sample with no offset. The * * WL18xx Bluetooth PCM has 8/16 and 16/8 sample rate converted. The PCM is * * allays on 16KHz. Route the PCM lines with the GStreamer to 16KHz */ ret_val = PM_VS_PCM_Codec_Config(&PCMCodecConfig16k); RouteGStreamer(SAMPLE_RATE_16KHZ);
2>
The picture below is my two audio devices.
I changed the LinuxHFRM_HF. C #define ROUTE_GSTREAMER_WL_TO_AM335_SPK_16K "gst-launch-1.0 alsasrc device=plughw:WILINK8BT ! audio/x-raw,channels=1,rate=16000 ! alsasink device=plughw:AM335xEVM &" to
#define ROUTE_GSTREAMER_WL_TO_AM335_SPK_16K "gst-launch-1.0 alsasrc device=plughw:WILINK8BT ! audio/x-raw,channels=1,rate=16000 ! alsasink device=plughw:BeagleBoardX15 &"
3> Finally, trouble to ask, how to check the ALSA interrupt count?