Page 1 of 1
AT+BTA2DPINIT with I2S
Posted: Thu Apr 07, 2022 2:11 am
by pedroATsms
Hi all,
I have a couple of questions about A2DP.
Using a ESP32 with AT, I have enabled A2DP support, which gives 3 I2S pins. My questions are -
1) is the I2S a master or slave?
2) What difference will the +BTA2DPINIT sink or source make to the I2S function?
Thanking you
Pedro
Re: AT+BTA2DPINIT with I2S
Posted: Tue Apr 12, 2022 2:32 am
by ESP_Sun
Hi,
1) I2S is the master.
2) AT+BTA2DPINIT is source without I2S, AT+BTA2DPINIT is sink will use I2S to control peripherals to play audio.
Hope this helps you.
Re: AT+BTA2DPINIT with I2S
Posted: Thu Apr 14, 2022 5:51 am
by pedroATsms
Thank you for your reply ESP_Sun.
If I understand your reply correctly, then:-
BT Sink -> I2S Master
BT Source -> No I2S
If BT Source has no I2S, how do I give it the audio?
Kind regards
Pedro
Re: AT+BTA2DPINIT with I2S
Posted: Thu May 19, 2022 8:02 am
by ESP_Sun
pedroATsms wrote: ↑Thu Apr 14, 2022 5:51 am
Thank you for your reply ESP_Sun.
If I understand your reply correctly, then:-
BT Sink -> I2S Master
BT Source -> No I2S
If BT Source has no I2S, how do I give it the audio?
Kind regards
Pedro
Yes, BT source does not have I2S. It executes the AT+BTA2DPSRC command and provides audio for it through the URL, but there is a issue with the current version of the AT+BTA2DPSRC command.