-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3 higher framerates due to Cam interface? #513
Comments
VGA+RGB565\YUV422\JPEG+30fps is OK. |
So even though the s3 has it's own camera peripheral only 30 FPS are doable? Thank you |
This depends on the format that the sensor can output. For VGA resolution, 30 fps is recommended for data in RGB format. For JPEG format data, the frame rate can be higher. Because the amount of data in JPEG format is relatively small. |
I'm having success with 72 MHz PCLK on an ESP32-S3 after making some changes to the driver. The trick is to use EDMA mode and disable the caches while the DMA is running. The cache used for code from flash competes for the SPI0 bus, which is also used for PSRAM. Ensuring that only the GDMA is using the SPI0 bus allows it to consume the full bandwidth (80MHz in an ideal world). I am using this for full-res stills though, the situation will be different if you need to access a different framebuffer while one is being written, or to use the CPU for other tasks during the frame capture (since you can only execute code in IRAM while the cache is disabled). This means that ongoing wifi/video transmission is likely impractical. |
@macksal want to provide a PR for this? It could be limited to |
I can't get it merged as-is because I've changed the core functions quite a bit. I stole the I'm occupied with the project that this is part of for the time being - but happy to provide more info and perhaps contribute something mergeable at a later date |
This issue appears to be stale. Please close it if its no longer valid. |
Hello!
Does the Esp32s3 eye support double the framerate? The datasheet says the dedicated camera port is 40MHz, as far as I know, the normal ESP32 software cam driver only allows 20MHz?
So, what framerate can I expect at 640x480?
Thank you very much
The text was updated successfully, but these errors were encountered: