Content originally posted in LPCWare by wmues on Thu Jun 18 01:00:56 MST 2015
Make the Bank address bits of the SDRAM to be the upper address bits, and put the code into the lower address range of the SDRAM, and the framebuffer into the upper address range of the SDRAM. So the code will have an open bank all the time, and the framebuffer DMA will have another open bank all the time. No more need to waste time for open a bank for the framebuffer DMA.
Use a 16bit (RGB 565) framebuffer, not 24bits. Do ordered dithering if you want high quality output.
Urgent: put your stack into internal RAM. This will make a big performance difference.
regards
Wolfgang