smartpanle / QMSD-ESP32-BSP

qmsd-esp32-bsp includes screen drivers, touch functionality, and UI framework, making it convenient for users to develop applications on the panlee development board.
MIT License
14 stars 5 forks source link

ZX3D50CE02S-USRC-4832 DMA is crashing #3

Closed rightcornerengineering closed 3 months ago

rightcornerengineering commented 3 months ago

When I tried to change the heap allocation to DMA, it got crash after uploading firmware.

define QMSD_MALLOC_PSRAM(x) heap_caps_malloc((x), MALLOC_CAP_SPIRAM | MALLOC_CAP_DMA)

EeeeBin commented 3 months ago

SPIRAM cannot be used for DMA

rightcornerengineering commented 3 months ago

SPIRAM cannot be used for DMA

Why is it not available?

EeeeBin commented 3 months ago

Documentation:https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/system/mem_alloc.html#dma-capable-memory

rightcornerengineering commented 3 months ago

Closing this issue.