Hello,
The External memory controller section in LPC4367's datasheet specifies only SRAM, ROM, NOR flash and SDRAM devices to be connected to the EMC.
However, is there any way to interface a NAND Flash to LPC4367 having the following interface?
Thanks and Regards,
Akhilesh Sreedharan
Waveshare make a 4357-based board with a NAND chip on it and they provide an example driver in their demo package. Could be a useful example to look at.
The link doesn't seem to be working, please share the files.
Hello Bernhard Fink,
Thanks a lot for the reply.
The OP of the link which you have suggested asks if an SDRAM and NAND both can be interfaced simultaneously to the EMC. We have a similar system which will have a SDRAM and NAND.
Can you please let us know if there will be a need to re-initialize the EMC register when there is a switch between SDRAM and NAND as NAND read/write is a software controlled process and SDRAM read/write will be managed by the External memory controller.
Thanks,
Akhilesh Sreedharan
On the LPC4300 SDRAM and SRAM interface are two different instances with own register settings. No problem to connect a memory device to both, no dynamic changes are required at runtime.
Regards,
Bernhard.
It should be possible to interface a NAND flash, as long as you find a driver for it.
But it's a sw managed read/write process, you will not be able to boot or execute from it.
There is a NAND driver for the LPC1788, which could most likel y be adapted to the LPC4300 platform:
https://community.nxp.com/thread/418534
Regards,
Bernhard.