ESP32 with ov2640 does not work in RGB565 mode

Hello everyone,

I have an ESP32-S3 WROOM (N16R8) equipped with an ov2640 camera.

I am working with the Arduino IDE and, using the example/ESP32/camera/CameraWebServer sketch, everything works fine in JPEG mode.

However, I can't get it to work in RGB565 or GRAYSCALE mode. Regardless of the config.xclk_freq_hz frequency between 2 and 20 MHz and regardless of the size used (less than FRAMESIZE_320X320), I always get the same message:

Camera init OK 0x0E (1241) cam_hal: DMA overflow
Guru Meditation Error: Core 0 panic'ed (Unhandled debug exception).
Debug exception reason: Stack canary watchpoint triggered (cam_task)

and the ESP32 reboots.

Any idea what the problem is and how to solve it?

Best regards.

Pierre

Anyh of those I have messed with I just clicked the setting on the mini GUI the web page presents and they all worked fine. Do you have a web page gui to work with?

Which IDE and ESP32 Core version are you using ?

It seems that Expressif do have a problem with their latest 'revision' of their core;

https://github.com/espressif/arduino-esp32/issues/11674

@sonofcy : I have a web page that is OK when I use the JPEG mode.

@srnet : my IDE is 2.3.6 and the Espressif is 3.3.0

I going to try with an older version : 3.2.1

Best regard.

Pierre.

@srnet : Great, it works well with the previous version. Thank you very much.

Best regards.

Pierre.

Recently Expressif seem to have been introducing quite a few 'issues' with the constant revisions of their core.

If you have a version of the core that's stable for your purposes, its probably best to stick with it rather than upgrade and find previous sketches and code no longer work.

Sure, you are wright.

Best regards.

Pierre