audio sink app on CYBT-343026

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

cross mob
davethecipo
Level 1
Level 1
10 sign-ins 5 sign-ins First reply posted

Hi,

sorry for the stupid question but this is my first time with Cypress ecosystem and also I'm not a professional firmware developer.

When I use ModusToolbox, the available template projects don't include the Audio Sink app, but the project README (https://github.com/cypresssemiconductorco/mtb-example-btsdk-audio-a2dp-sink) has a section named "List of boards available for use with BTSDK", which includes my eval board.

My understanding is that the board is compatible with the btsdk, that means I have access to functions like "wiced_audio_sink_configure" (https://cypresssemiconductorco.github.io/btsdk-docs/BT-SDK/20706-A2_Bluetooth/API/group__wicedbt__a2... that allow me to configure and eventually use the audio functionality of the chip, but the example project for some reason is not compatible with it.

Am I correct? Can somebody help? Many thanks, Davide

0 Likes
1 Solution
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Make sure you have correct device as active in Library manager. You can refer Library Manager user guide here- https://www.cypress.com/file/520271/download

 

View solution in original post

4 Replies
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi @davethecipo ,

No question is stupid if you are learning new thing.! 🙂

Can you please send the screenshot of error you are facing? Install latest ModusToolbox  from https://www.cypress.com/products/modustoolbox

They follow the procedure mentioned in audio sink readme file.  You can also try programming a basic application like LE Hello Sensor and check if your module board is working fine.

0 Likes
davethecipo
Level 1
Level 1
10 sign-ins 5 sign-ins First reply posted

Hi,

the board works because I tried the GPIO and ADC example projects. If I modify the Makefile by adding CYBT-343026-EVAL to the supported targets and to the TARGET line, then I get

 

11:15:16 **** Build of configuration Debug for project Audio_Sink ****
"C:\\Users\\dolia\\ModusToolbox\\tools_2.3\\modus-shell\\bin\\make" CY_MAKE_IDE=eclipse CY_MAKE_IDE_VERSION=2.3 CY_IDE_TOOLS_DIR=C:/Users/dolia/ModusToolbox/tools_2.3 -j12 all 
C:/Users/dolia/ModusToolbox/tools_2.3/make/startex.mk:380: *** Build support for the target device not found. Run "make getlibs" to ensure all required build and code dependencies are present..  Stop.
"C:/Users/dolia/ModusToolbox/tools_2.3/modus-shell/bin/make CY_MAKE_IDE=eclipse CY_MAKE_IDE_VERSION=2.3 CY_IDE_TOOLS_DIR=C:/Users/dolia/ModusToolbox/tools_2.3 -j12 all" terminated with exit code 2. Build might be incomplete.

11:15:17 Build Failed. 1 errors, 0 warnings. (took 1s.0ms)

 

If I then run "make getlibs" from the shell, I get

$ make getlibs

==============================================================================
= Importing libraries =
==============================================================================
Git is git version 2.17.0, found at /usr/bin/git

Resolving dependencies...
Checking if remote manifest is accessible...
QNetworkReplyHttpImplPrivate::_q_startOperation was called more than once QUrl("https://github.com/cypresssemiconductorco/mtb-super-manifest/raw/v2.X/mtb-super-manifest-fv2.xml")
QNetworkReplyHttpImplPrivate::_q_startOperation was called more than once QUrl("https://github.com/cypresssemiconductorco/mtb-super-manifest/raw/v2.X/mtb-super-manifest-fv2.xml")
Processing super-manifest https://github.com/cypresssemiconductorco/mtb-super-manifest/raw/v2.X/mtb-super-manifest-fv2.xml...
Successfully acquired the information.

Warning: Unable to find the Active BSP in the manifest database.
Nothing to update.
Dependencies resolved.

Searching application directory (.mtb)...
Found 5 .mtb file(s)
    Processing file "C:/Users/davide/mtw/Audio_Sink/deps/btsdk-audio.mtb"
    Processing file "C:/Users/davide/mtw/Audio_Sink/deps/btsdk-host-apps-bt-ble.mtb"
    Processing file "C:/Users/davide/mtw/Audio_Sink/deps/btsdk-ota.mtb"
    Processing file "C:/Users/davide/mtw/Audio_Sink/deps/btsdk-peer-apps-ota.mtb"
    Processing file "C:/Users/davide/mtw/Audio_Sink/deps/TARGET_CYW920706WCDEVAL.mtb"
Libraries processed.
Created file "C:/Users/davide/mtw/Audio_Sink/libs/mtb.mk".


==============================================================================
= Import complete =
==============================================================================

 

Then I run "make build" again, but I get the first error. I am left to think that the code example is not compatible. I will get familiar with the board using other exaples.

Thanks again, Davide

0 Likes
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Make sure you have correct device as active in Library manager. You can refer Library Manager user guide here- https://www.cypress.com/file/520271/download

 

OMG this was the problem! Thanks I can see the wiced app from my smartphone now! Best regards, Davide

0 Likes