Other Parts Discussed in Thread: CC2564, CC2564C
I managed to successfully run the A3DP Sink Demo project on a custom STM32F4 board as a first step of our new product development. Now I am trying to get the A3DP Source Demo to work on the same board.
I am using the code base from the CC2564CSTBTBLESW-v188.8.131.52 package, in NoOS mode. I am following the procedure from the "CC2564x Demo Applications User's Guide" (ref. swru580, chapter 4).
I can successfully pair and connect a BT headset with the board but I get an error when opening the stream. Here is the chain of what happens, referring to A3DPDemo_SRC.c:
- AUD_Event_Callback gets called with etAUD_Stream_Open_Confirmation event type
- This triggers a call to OpenA3DPStream
- This triggers a call to AUD_Query_Stream_Channel_Information
The latter will fail and return -1006. The StreamChannelInfo struct is populated as follows after the call:
InMTU=1100, OutMTU=0, LocalCID=1, RemoteCID=0
I tried replacing the headphones with another copy of this board, this time running the Sink Demo. I get the same behavior.
As the source code of the AUD_Query_Stream_Channel_Information function is not available, can you please help me troubleshoot this?
Thanks in advance.