Content originally posted in LPCWare by bavarian on Tue Oct 02 07:54:33 MST 2012
Hello jokn,
it shouldn't be so bad that you need to work with maximum delay ;-)
Check the attached code which works fine for the Hitex A2 and A4 board.
From your application code you just need to call EMC_Init(). Please position this object into internal SRAM in case you have your code located in the external flash at 0x1C000000. You can't execute code from the external memory and at the same time change the configuration of the interface.
This code works fine for me at 192MHz (--> 96MHz for the EMC, check the define CLKOUT_HALF). 204MHz should be possible as well, but I need to check the SDRAM configuration en-detail.
Best regards,
NXP Technical Support.