lpcware

LCP1788 LCD frame buffer in internal RAM

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by bourgeois on Wed Dec 28 09:28:54 MST 2011
Hello,

Is it possible to use the onchip RAM for an LCD frame buffer? I ask because, I have some sample code that runs only when the frame buffer is located on external RAM.

I have something like that:

int32_t framebuf = (int32_t)(0xA0000000); // external RAM

but when I change to:

int32_t framebuf = (int32_t)(0x10000000); // internal RAM

it doesn't work anymore.

The address is set with:
LPC_LCD->UPBASE = (uint32_t)framebuf;

(The address is reserved for the frame buffer and the linker don't put variables in that region.)

For information, I have the EA Board for the LPC1788.

Outcomes