RT106x SEMC NAND Flash examples

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RT106x SEMC NAND Flash examples

1,459 次查看
Mark16
Contributor II
I can't find any sample projects for the RT106x with NAND flash via SEMC.
Are there any?
How do I set up the SEMC for the MX30LF2G28AD Micronix NAND flash?
 
 
 

 

 

标签 (1)
0 项奖励
回复
6 回复数

1,431 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Mark16 ,

Thanks for your interest in NXP MIMXRT series!

Are you referring to operating SEMC NAND Flash or booting from SEMC NAND?

Since there is no NAND Flash connection provided on the EVK, there are no examples directly available in the corresponding SDK.

However, the necessary drivers are provided in this folder:SDK_2_16_000_EVK-MIMXRT1060\components\flash\nand\semc

If it is need to boot from SEMC NAND, you can refer to this document:

1. https://www.cnblogs.com/henjay724/p/9173425.html

2. https://www.cnblogs.com/henjay724/p/12591382.html

3. https://community.nxp.com/t5/i-MX-Processors/Booting-image-from-External-SEMC-NAND-flash-MX30LFIGE8A...

Best regards,
Gavin

 

 

0 项奖励
回复

1,413 次查看
Mark16
Contributor II

Thank you very much, I wouldn't have been able to find the drivers otherwise.
I want to use the 8 MB NAND (MX30LF2G28AD) as mass storage.
I also have a 32 MB SDRAM (W9825G6KH) in parallel.
What else do I need to consider?
How should I set the pins?
If I configure the pins for the SEMC on the i.MX RT1061 with MCUXpresso using the SW_MUX_CTL registers, do the SW_PAD_CTL registers still influence the behavior of the pins, or is the behavior then determined solely by the SEMC?
According to the NAND datasheet, the SEMC_RDY requires a pull-up.

 

0 项奖励
回复

1,412 次查看
Mark16
Contributor II

sorry, the NAND has 256 MB.

0 项奖励
回复

1,323 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Mark16 ,

SW_PAD_CTL is also in play, and is the register where you configure the physical characteristics of the PAD when you use the PinConfigTool. Thinking of SW_MUX_CTL as "selecting" the signal routing, and SW_PAD_CTL as "adjusting" the physical characteristics.

SEMC in NXP's EVK doesn't connect to NAND, but I found a 3rd party example that might help you:

Gavin_Jia_0-1750323300778.png

Also, there is a Chinese doc for your reference: https://doc.embedfire.com/mcu/i.mxrt/i.mxrt1052/zh/latest/doc/chapter29/chapter29.html

Best regards,
Gavin

 

0 项奖励
回复

1,320 次查看
Mark16
Contributor II

Are there also SDK NAND drivers for ECC and Bad Block Management for the RT106x?

0 项奖励
回复

1,306 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

It is under this path: SDK_2_16_000_EVK-MIMXRT1060\components\flash\nand\semc

You can check out the drivers provided in this folder.

0 项奖励
回复