2025-06-28 5:39 AM
I am using TouchGFX to design GUI, and I want to use a dynamic bitmap to show an image captured by the camera. The camera is about 600*480 size. But I set the CacheAddress as following, and It turns out that the GUI cannot run properly. Is there any problem with it?
uint16_t* const cacheStartAddr = (uint16_t *)0xC0008000;
const uint32_t cacheSize_own = 0x100000; //1 MB, as example
Bitmap::setCache(cacheStartAddr, cacheSize_own, 1);