Skip to content

Switching between A2DP, URL and i2s sources #1880

Answered by pschatzmann
HostXnine asked this question in Q&A
Discussion options

You must be logged in to vote

Microcontroller have only limited resources and you need to first investigate the RAM requirements of each of your scenario. Measure, calculate and design it properly (e.g. by using PSRAM) or by rebooting into your specific scenario.

When you change the scenario, don't forget to close all resources to release the memory and keep in mind that for A2DP only a limited amount of RAM is released, so that it can be restarted again.

Learn how to analyze the back trace to find out where it is currently failing. You can also set the log level to Debug and add Serial.println() to figure out where it is failing....

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
6 replies
@pschatzmann
Comment options

@HostXnine
Comment options

@munkerench
Comment options

@pschatzmann
Comment options

@munkerench
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
2 replies
@pschatzmann
Comment options

@HostXnine
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants