Content originally posted in LPCWare by Dave on Thu Aug 02 10:07:06 MST 2012
Sorry, I didn't mean that you should "copy" my code, I meant you should verify your values... each SDRAM device has a table with timing constants. Your device is probably not the same as my device... By the way, what is your device anyway???
I use my device with multiple display pages, and never have any contention - I also run my devices at 120Mhz... again, no problems...
This indicates to me that it is possible, and more than probably you haven't programmed the EMC, the SDRAM, or the LCD controller the way you think you have...
There are several complete examples on how to program the EMC and SDRAM here - Wolfgang has even uploaded his entire driver set here I believe...
The trick is to make sure you have the timing values set properly, and that you are configuring the LCD controller properly...
Not sure how much more I can help without actually doing it for you...
Oh, one more thing - you indicated you are using a custom board - how confident are you in the design? Trace spacing, signal grouping, matched trace lengths, trace widths, dah, dah, dah... All of this comes into play, and can really screw things up if you don't have them just right.
Oh, and another thing - what's the maximum frequency of the SDRAM part you are using?
Just thinking out loud...
Hope this helps,