NAND Flash interface support in LPC4367

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

NAND Flash interface support in LPC4367

1,355件の閲覧回数
akhilesh_sreedh
Contributor III

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?

pastedImage_1.png

Thanks and Regards,

Akhilesh Sreedharan

タグ(3)
0 件の賞賛
6 返答(返信)

953件の閲覧回数
leecoakley
Contributor III

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.

0 件の賞賛

953件の閲覧回数
akhilesh_sreedh
Contributor III

The link doesn't seem to be working, please share the files. 

0 件の賞賛

953件の閲覧回数
leecoakley
Contributor III

I will share it, but you can just google "Waveshare Open4357-C" for the site.

See attached zip. The NAND code is under /examples waveshare/EMC/EMC_NANDFLASH/

0 件の賞賛

953件の閲覧回数
akhilesh_sreedh
Contributor III

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

0 件の賞賛

953件の閲覧回数
bernhardfink
NXP Employee
NXP Employee

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.

953件の閲覧回数
bernhardfink
NXP Employee
NXP Employee

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.

0 件の賞賛