bitluni / ESP32CompositeVideo

343 stars 62 forks source link

ESP32-D2WD 2 megabytes flash RAM & resolution #3

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hello,

I read that the ESP32-D2WD has 2 megabytes of embedded flash memory.

Would this be usable as graphics memory for your ESP32CompositeVideo project or would it be too slow?

bitluni commented 6 years ago

you mean PSRAM not flash (as on the Wrover modules) it's certainly not usable as video memory since the DMA for I2S is limited to a specific address range. the speed of the spi is also limited making it hard to copy parts of frames into DMA ram in time. some cache warming could make it possible to hold parts of the frame buffer in the PSRAM. But this is quite complicated and really hardware dependent.. newer revisions of the chip could break it. However the PSRAM comes handy for all other stuff like meshes, vertices to free up some DAM ram