Page 1 of 1

ESP32-D0WB-V3 RAM getting filled while using both Bluetooth and camera

Posted: Wed May 08, 2024 12:06 pm
by REDHAT
hello : )

I am using the ESP32-D0WB-V3 controller for my ESP32 project
Here I am interfacing the camera (capturing and storing the image into the SD card) along with this I need to use Bluetooth Serial communication.

complied output:
Sketch uses 1206833 bytes (92%) of program storage space. Maximum is 1310720 bytes.
Global variables use 44428 bytes (13%) of dynamic memory, leaving 283252 bytes for local variables. Maximum is 327680 bytes.


esp32 details:
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz


The problem is while capturing the camera image I am getting the error :
E (22154) cam_hal: cam_dma_config(316): DMA buffer 32768 Byte malloc failed, the current largest free block:16372 Byte
E (22155) cam_hal: cam_config(384): cam_dma_config failed
E (22159) camera: Camera config failed with error 0xffffffff

this error only happens when I integrate both Bluetooth and camera, individually both are working!

Please let me know how this issue can be resolved!!!!