cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Bitmap cache

Krotal
Associate II

Hi, everyone !

I'm using TouchGFX with an STM32H743 and external SDRAM (32Mb) mapped on Bank 2 with FMC (0xD0000000)

 

Bitmap::setCache((uint16_t *)0xD0400000, 0x10000, 1);
uint32_t top = (uint32_t)Bitmap::getCacheTopAddress();
BitmapId bitmapId = Bitmap::dynamicBitmapCreate(10, 10, Bitmap::ARGB8888);
uint32_t address = (uint32_t)Bitmap::dynamicBitmapGetAddress(bitmapId);

 

When I do this code, top = 0xd0400088, address = 0xc0400088.

Any suggestions ? Seen other post similare to this but nothing about it being resolved.

I'm using TouchGFX v4.25.0 and STM32CubeIDE v2.1.1

 

 

0 REPLIES 0