ESP32 Audio / WebServer overhead

gecko242
Posts: 18
Joined: Tue Oct 02, 2018 7:11 am

ESP32 Audio / WebServer overhead

Postby gecko242 » Tue Oct 02, 2018 7:17 am

Hello,
I have an ESP32 running a basic web server, as well as a whole load of other things, PWM, Serial and so on.

I need to play audio constantly in the background, which will need to be stored on external flash. The ESP is also booting from a separate external flash chip, since as far as I can tell it wont support larger than 16mbyte boot flash.

First question:
Can I run another 16mbyte flash(to store the audio) on the same SPI bus (with a different CS pin) as well as the boot flash and the(now unused) internal flash?

Second Question:
Will the ESP have enough overhead to stream the audio from flash, over the I2S into a codec, whilst running everything else? The audio will be 16K mono most likely. Quality isnt a huge issue, but hearing glitches and stuttering will be.

Any advice would be welcome!

Sam

Who is online

Users browsing this forum: Bing [Bot], nandishre and 59 guests