ESP32 I2S camera mode with STM32 DCMI

jesusVC
Posts: 2
Joined: Wed Jan 20, 2021 4:17 am

ESP32 I2S camera mode with STM32 DCMI

Postby jesusVC » Mon Jan 25, 2021 2:34 pm

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 3170 times
image in esp32.PNG
image in esp32.PNG (4.61 KiB) Viewed 3170 times

Michalpu
Posts: 22
Joined: Sun Jan 24, 2021 1:37 pm

Re: ESP32 I2S camera mode with STM32 DCMI

Postby Michalpu » 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/
Content creator at https://911electronic.com

jesusVC
Posts: 2
Joined: Wed Jan 20, 2021 4:17 am

Re: ESP32 I2S camera mode with STM32 DCMI

Postby jesusVC » Tue Jan 26, 2021 10:14 pm

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 :( .

Who is online

Users browsing this forum: Baidu [Spider], Majestic-12 [Bot] and 129 guests