Hi, I am working with imx8mmevk on yocto project
I want to know how to use bluetooth PCM,because when use bluetooth a2dp,the pcm no signal
Hi,
I have bluealsa service running on yocto linux and able to connect bluetooth earphone. I can able to play and record using below mantioned commands,
aplay -D bluealsa:SRV=org.bluealsa,DEV=xx:xx:xx:xx:xx:xx,PROFILE=a2dp /usr/share/sounds/alsa/Front_Center.wav
arecord -D bluealsa:xx:xx:xx:xx:xx:xx,sco -d 5 test.wav
While recording/playing audio i'm not getting any signals on PCM lines, but on uart. How can I test PCM (want to check singals on PCM lines)?
Note:
this is what /usr/lib/systemd/system/bluealsa.service have (logs are trimmed)
# cat /usr/lib/systemd/system/bluealsa.service
.
.
.
ExecStart=/usr/bin/bluealsa -p a2dp-source -p a2dp-sink -p hfp-hf -p hfp-ag -p hsp-hs
.
.
.
and this is output of bluealsa-aplay -l
# bluealsa-aplay -l
**** List of PLAYBACK Bluetooth Devices ****
hci0: A4:05:6E:32:FB:BA [realme Buds Wireless 2], trusted audio-headset
A2DP (SBC): S16_LE 2 channels 48000 Hz
SCO (CVSD): S16_LE 1 channel 8000 Hz
**** List of CAPTURE Bluetooth Devices ****
hci0: A4:05:6E:32:FB:BA [realme Buds Wireless 2], trusted audio-headset
SCO (CVSD): S16_LE 1 channel 8000 Hz
Hi yougang
one can look at
https://community.nxp.com/thread/513039
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hi igorpadykov
Thank you for your reply, bluetooth a2dp uses uart to transfer audio data.If we want to use the PCM interface to transmit audio data,how to modify?
one can look at
BCM4343W bluetooth audio PCM driver | Cypress Developer Community
AN214937 Bluetooth Audio Over I2S
https://www.cypress.com/file/298666/download
Best regards
igor