Porting A2DP Sink App on CYBT-343026

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ted0
Level 1
Level 1
First like given 5 sign-ins First reply posted

Hello,

I'm using CYW20706 to develop a Bluetooth speaker, with CYBT-343026-EVAL.

I had a problem with using Wiced Studio for a2dp sink app for CYBT-343026-EVAL on post Solved: Re: CYBT-343026 I2S data output voltage level prob... - Infineon Developer Community

Now I'm working with ModusToolbox and a2dp sink app for CYW920706WCDEVAL by following the suggestion on the previous query.

----------------------------------------------------------------------------------------------------------------------------------------------------------

Update

The app supports CYW920706WCDEVAL. We can port the app to CYBT-343026-EVAL and use it. CYBT-343026-EVAL also has the same chip (CYW20706). The difference is between the BSP - Hardware configurations.

----------------------------------------------------------------------------------------------------------------------------------------------------------

But still don't know what I should change to port this app to work.

Please let me know what parts I should change this app to work on CYBT-343026-EVAL.

 
 
0 Likes
1 Solution
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi,

You may have to take care of the Board specific configurations such as GPIOs, UART, LEDs, Buttons, etc. Major Bluetooth functionalities will be working without any problems since the silicon is the same. Each kit has separate Board specific packages which have such configurations/declarations.

Eg.https://github.com/Infineon/TARGET_CYW920706WCDEVAL 

https://github.com/Infineon/TARGET_CYBT-343026-EVAL 

 

You can get the a2dp_sink app and upload it for CYBT-343026-EVAL and make appropriate changes wherever you see problems.

https://github.com/Infineon/mtb-example-btsdk-audio-a2dp-sink 

Thanks,

-Dheeraj.P.K

View solution in original post

3 Replies
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi,

You may have to take care of the Board specific configurations such as GPIOs, UART, LEDs, Buttons, etc. Major Bluetooth functionalities will be working without any problems since the silicon is the same. Each kit has separate Board specific packages which have such configurations/declarations.

Eg.https://github.com/Infineon/TARGET_CYW920706WCDEVAL 

https://github.com/Infineon/TARGET_CYBT-343026-EVAL 

 

You can get the a2dp_sink app and upload it for CYBT-343026-EVAL and make appropriate changes wherever you see problems.

https://github.com/Infineon/mtb-example-btsdk-audio-a2dp-sink 

Thanks,

-Dheeraj.P.K

Hi, Dheeraj

Thanks for the information.

I've changed some pin settings for CYBT-343026 in 'mtb_shared -> wiced_btsdk -> dev-kit -> bsp -> TARGET_CYW920706WCDEVAL.

But I still get a problem working it correctly.

Problem :

 I've tried to communicate with the board through teraterm with uart function in board, but the words get cracked. What I'm thinking is a baud rate mismatch but I can't solve it after changing baud rate setting in wiced_platform.h (I get warning message when I build the application after changing the value)

I'll attach the capture of the list down below, please let me know if there's something I need to change or wrong.

1. Teraterm setting, message I get from board

1. TeraTerm message.png

2. Warning message while building after changing baud rate value

2. BAUDRATE WARNING.png

3,4. Changes I made in bsp to work on CYBT-343026-EVAL in each file.

platform.c

 

4. modified value in platform.c.png

wiced_platform.h

3. modified value in wiced_platform.h.png

Best Regards,

Ted

 

    

 
0 Likes
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Update:

I guess the application is not imported properly. Instead of  changing the BSP, please download the application from the github and import to the MTB workspace locally. For that you may need to change the target as below.

# default target
TARGET=CYBT-343026-EVAL

SUPPORTED_TARGETS = \
CYW920706WCDEVAL \
CYW9M2BASE-43012BT \
CYW920721M2EVK-01 \
CYW920721M2EVK-02 \
CYW943012BTEVK-01 \
CYW955572BTEVK-01 \
CYW920721M2EVB-03 \
CYBT-343026-EVAL

FYI.

https://github.com/Infineon/mtb-example-btsdk-audio-a2dp-sink

 

0 Likes