Hello there
I want to work with EMC in LPC54606 (LQFP100 package) and connect a nand flash device to that .
i did work with nand prior by lpc1768 and i worked with GPIO.
so i want to khow that , is it possible to work with nand and connect it to EMC ? and how can i connect pins to control pins in nand flash device?
is there any sample code?
i was wondering if you'd mind answering this question
Hello Alireza,
EMC does not natively support NAND Flash, however you can make it work with software support.
Unfortunately, the sample code that we provide with the SDK for the EMC is for a SDRAM memory. However, we have a application note that explains how to do this with an LPC2200, you can use this as a guide for your project.
http://cache.nxp.com/documents/application_note/AN10600.zip?fsrch=1&sr=1&pageNum=1
Hope it helps!
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Dear victor
thanks a lot for your answer.
it was useful .
but i have a question. i want to know that Is it same for all EMC blocks in other microcontrollers? and EMI is like EMC?
and i found that EMC can drive just Small Page Nandflash devices, is it true?
Hello Alireza,
i want to know that Is it same for all EMC blocks in other microcontrollers?
NAND Flash is an old memory technology, so now it's hard to find a MCU that support this natively. I highly recommend you to use a NOR Flash instead which uses a quad SPI interface.
The LPC546xx family includes a quad SPI Flash Interface (SPIFI) for expanding program memory. If you use this type of memory then you will be able to run code and boot from it.
Please notice that if you want to continue using the NAND flash then you wont be able to run code or boot form it, since this type of memory is not supported natively.
EMI is like EMC?
EMI and EMC are referring to the same peripheral. The name changed between versions because of different features of the peripheral, but it is use for the same thing (external memory control).
i found that EMC can drive just Small Page Nandflash devices, is it true?
This will depend on the reading and writing characteristics of the NAND flash that you are using.
Hope it helps!
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------