Page 1 of 1

I2S Maximum Channels

Posted: Mon May 14, 2018 10:23 pm
by barometre
Hi,

Esp32 have two i2s peripherals. Can both be configured to as output? If yes is it possible to have different output from them?

I would like to build a simple boombox with simple frequency filtering.

What is the maximum lrck frequency? Is it possible to have multichannel audio for crossover purposes.

Thanks

Re: I2S Maximum Channels

Posted: Tue May 15, 2018 10:38 am
by Jakobsen
Hi Barometre

Yes - I did a simple test last year.
Simple crossover filter for bass / tweeter on left channel audio but only using on i2s output from the ESP32. Should be easy to use second i2s output for right channel as well.

I will check if possible on my setup as well - The amp's we design takes 2 x i2s input to support up to 4 single ended output channels.

Regards Jakobsen

Re: I2S Maximum Channels

Posted: Mon Oct 01, 2018 1:24 pm
by barometre
Jakobsen wrote:Hi Barometre

Yes - I did a simple test last year.
Simple crossover filter for bass / tweeter on left channel audio but only using on i2s output from the ESP32. Should be easy to use second i2s output for right channel as well.

I will check if possible on my setup as well - The amp's we design takes 2 x i2s input to support up to 4 single ended output channels.

Regards Jakobsen
Hi,

Do you mean, "you set both I2S data lines as output and each outputting stereo channels then you had 2*stereo channels to frequency filtering"?

Thanks

Re: I2S Maximum Channels

Posted: Mon Nov 26, 2018 11:31 am
by Jakobsen
Yes
Stereo audio in from HTTP audio stream - Split to 4 channels using 2xi2s hardware block
I2S inst 0 : Left bass /Left treble - Amp 2 x single end
I2S inst 1 : Right bass /Right treble - Amp 2 x single end
Or alternative 2.1 system
I2S inst 0 : Left treble /Right treble - Amp 2 single end
I2S inst 1 : Mixed left/right bass - Amp 1 BTL


/j