cancel
Showing results for 
Search instead for 
Did you mean: 

ModusToolbox Bluetooth SDK

Piotr
New Contributor II

Hello Support,

I have problem with control of Cypress module. When I am trying to run A2DP profile by play YT music on paired phone it periodical change state player play-pause-play-pause-... on my phone.

I tried to debug where is the case and i found this #define function

#define GKI_send_msg(a,b,p_msg) wiced_bt_a2dp_sink_hdl_event((BT_HDR *)p_msg)

It is in library storage, and i dont think so that i should modify anything in here.

debug1 - screen from terminal to check where is the problem. When module going to play<>pause state UART debug stuck.

debug2 - code fragment with last used function.

When module start wiced_bt_a2dp_sink_send_start_response function everyting stuck.

Have you case like that with this module?

Best Regards

Piotr

0 Likes
1 Solution
Piotr
New Contributor II

Hello SheetalJ,

We found problem. CYBT-353027-EVAL schematic attached.

As you can see I2S_DO/PCM_OUT/GPIO6/P9 is the same pin. When A2DP is active, I2S_DO transmit data, in the same time button make a lot of impuls.

Solution is: comment button states, or change defined pin.

Best Regards

Piotr Dawidowicz

View solution in original post

0 Likes
2 Replies
SheetalJ
Moderator
Moderator

Hi @Piotr ,

I have tested A2DP with CYBT-353027_eval module before and it worked fine for me.

Would you please let me know demo application, MTB/WICED Studio version you are using? Also, mention any changes if you have made in code.

FYI: https://community.cypress.com/t5/WICED-Studio-Bluetooth/Headset-App-on-CYBT-353027-EVAL/m-p/238099#M...

https://community.cypress.com/t5/ModusToolbox-Bluetooth-SDK/CYBT-353027-EVAL-Audio-headset/m-p/26552...

https://community.cypress.com/t5/Resource-Library/Code-flow-and-audio-testing-of-demo-watch-using-CY...

 

0 Likes
Piotr
New Contributor II

Hello SheetalJ,

We found problem. CYBT-353027-EVAL schematic attached.

As you can see I2S_DO/PCM_OUT/GPIO6/P9 is the same pin. When A2DP is active, I2S_DO transmit data, in the same time button make a lot of impuls.

Solution is: comment button states, or change defined pin.

Best Regards

Piotr Dawidowicz

View solution in original post

0 Likes