Page 1 of 1

ESP32 I2S camera mode with STM32 DCMI

Posted: Mon Jan 25, 2021 2:34 pm
by jesusVC
Hello Everyone

I'm trying to use the I2S in camera mode to capture a DCMI bus from a STM32, but I haven't found more detailed information about the I2S registers and how it works.I'm sending a pattern over DCMI (vertical line). But the esp32 seems to be unsync , due to each line of the image is getting shifted.Below I attach the DCMI waveform from stm32 and the resulting ESP32 Image captured from the web server (using esp camera example)
DCMI.png
DCMI.png (5.75 KiB) Viewed 3171 times
image in esp32.PNG
image in esp32.PNG (4.61 KiB) Viewed 3171 times

Re: ESP32 I2S camera mode with STM32 DCMI

Posted: Mon Jan 25, 2021 7:44 pm
by Michalpu
Maybe try to check this article as this is good source of I2S basics https://diyi0t.com/i2s-sound-tutorial-for-esp32/

Re: ESP32 I2S camera mode with STM32 DCMI

Posted: Tue Jan 26, 2021 10:14 pm
by jesusVC
Michalpu wrote:
Mon Jan 25, 2021 7:44 pm
Maybe try to check this article as this is good source of I2S basics https://diyi0t.com/i2s-sound-tutorial-for-esp32/
thanks but unfortunately that is only for standard I2S and not the special camera mode that I'm using :( .