Hello friends,
Im using 7 inches TFT module (800x480) with LPC1788 controller. This is the first time I'm using a TFT module. Somehow I have managed to get some theoretical idea about TFT. But I have confused with the use SDRAM with TFT module. Is SDRAM is optional or it is compulsory if we are using a TFT LCD especially 7 inches LCD? Can someone please help me regarding this issue?
As Westonsupermare Pier already pointed out. -> Does the LPC1788 have enough SRAM for a frame buffer? Does the panel have a controller, or is it dumb?
The LPC1788 has internal LCD controller, I guess the SDRAM is necessary when use internal LCD controller with external dumb panel.
I read the usermanual once again but i couldn't locate the buffer or register for writing and reading the data to the external SDRAM. I configured the SDRAM with EMC in LPC1788 controller Can some one please guide me in this issue. Thank you......
the buffer or register for writing and reading the data to the external SDRAM.
Once you successfully initialize the EMC/SDRAM, the external SDRAM would be mapped to the ARM Cortex-M3 processor 4G address space.
See : UM10470 Chapter 9: LPC178x/7x External Memory Controller (EMC) 9.7 Memory bank select Table 110. Memory bank selection
Chip select pin Address range Memory type Size of range EMC_DYCS0 0xA000 0000 - 0xAFFF FFFF Dynamic 256 MB EMC_DYCS1 0xB000 0000 - 0xBFFF FFFF Dynamic 256 MB EMC_DYCS2 0xC000 0000 - 0xCFFF FFFF Dynamic 256 MB EMC_DYCS3 0xD000 0000 - 0xDFFF FFFF Dynamic 256 MB
You use registers to configure the memory controller.
You don't use registers to read and write from the DRAM memory.
If you needed registers to read/write then the compiler wouldn't be able to use pointers and variables within the DRAM...
Yes I'm getting the concept. Thank you for everyone for your kind reply.