Page 1 of 1
expand I2S
Posted: Thu Apr 22, 2021 12:47 pm
by michikite
is there a way to get more than the 4 i2s channels on the esp32?
I need 8, and it has to be i2s. For now my solution is to use 2 esp32. I wonder if there is a more economical and smaller solution.
Re: expand I2S
Posted: Fri Apr 23, 2021 1:40 am
by ESP_Sprite
It's a hack and would need you to rewrite the driver and the CPU probably needs to spend a fair amount of time reformatting the bits, but you could use the parallel mode of the I2S controller to generate up to 23 channels
Re: expand I2S
Posted: Fri Apr 23, 2021 1:19 pm
by michikite
Thanks for pointing me in the right direction.
If I implement a parallel i2s read using the camera mode, could I still have i2s serial write at the same time on the second i2s interface?
(What I need is read 6 channels, and output 1 channel.)
Re: expand I2S
Posted: Mon Apr 26, 2021 3:56 am
by ESP_Sprite
I think so, the two I2S peripherals are separate from eachother (although do note that there is only one APLL.)