Page 1 of 1

esp32s3 camera API

Posted: Wed Oct 09, 2024 11:41 am
by Gaston1980
Hi to all, I'm very new to esp32 and now I have a esp32s3 but can't find the camera API in the esp32s3 references, just the LCD APIs. I'm sarching in the 5.3.1 programing guide.
Thansk
Gastón

Re: esp32s3 camera API

Posted: Wed Oct 09, 2024 9:27 pm
by Gaston1980
In the reference manual pag 1060 you can read "LCD and camera controller" but in the API reference just the LCD API's are explained. Is there a link to some API's to control the camera using API's? Maybe I miss something in the TRM.
Cheers
Gastón

Re: esp32s3 camera API

Posted: Thu Oct 10, 2024 12:51 am
by nopnop2002
>Is there a link to some API's to control the camera using API's?

https://github.com/espressif/esp32-camera

Re: esp32s3 camera API

Posted: Thu Oct 10, 2024 1:44 am
by Gaston1980
Thanks for your reply!!! This is an example program which need to be download to the esp32. This is not what I'm looking for. Where's the API's? how the camera controller works now in the esp32s3? I already check the camera example and have a few question:
1) how the esp_err_t camera_capture() its been called from esp_err_t camera_init()?
2)DMA and buffer configs
3) the clock generated from the camera module in the esp32 says "EXPERIMENTAL: Set to 16MHz on ESP32-S2 or ESP32-S3 to enable EDMA mode"
what is EDMA?
is possible to ask when this API's will be available to read?
Thanks again nopnop2002 for your time to reply my question
cheers
Gastón

Re: esp32s3 camera API

Posted: Thu Oct 10, 2024 2:27 am
by nopnop2002
>Where's the API's?


The only API is this README.
As far as I know, this is the only API.
esp_camera_init(&camera_config)
esp_camera_fb_get()
esp_camera_fb_return(fb)


If you require official documentation, you can request it from EspressIF here.
https://github.com/espressif/esp32-camera/issues

1) how the esp_err_t camera_capture() its been called from esp_err_t camera_init()?
camera_capture() is not used.
Uses esp_camera_fb_get() and esp_camera_fb_return().
https://github.com/espressif/esp32-came ... ure.c#L156

2)DMA and buffer configs
I can't understand your question.

what is EDMA?
I think EDMA is probably enhanced DMA.
Here is a little information about EDMA.
https://github.com/espressif/esp32-camera/issues/574