I have been studying your ESP32 Camera project on github to get an understanding on how I2S in camera mode and DMA works.
I have several questions: More than three since there are multiple questions embedded in each below.
#1. During the init process of DMA descr - fields EOF and OWNER are set or cleared (depending on what source you look at). Looking at the I2S driver code, I can find nothing that looks at or changes those values so are they ignored?
#2. DMA buffer is limited to 4096 bytes. If the camera data line is more (as in 1600 pixels) - I am assuming the DMA will fill one buffer and then go to the next one in the link list (correct?). If the line takes less than two buffers, will the DMA controller issue an IRQ indicating that HREF is now low? Will the DMA controller move to the next buffer in the linklist or will it wait for the next line and continue filling until the buffer is full? (This is were I would think the EOF field would be useful).
#3. The code in the camera project acquires 8 DMA descr/buffers. I never see any code to imply in-use/empty/ready - etc. Is this because the design is such that with 8 buffers linked in a circular queue that one will always be processed and ready by the time the DMA needs a new one?
Thanks in advance for any comments / insights.
Joe
Questions - ESP32 Camera beyond JPEG
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: Baidu [Spider] and 213 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.