如何提高RT1064的SEMC接口访问NAND的速率

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

如何提高RT1064的SEMC接口访问NAND的速率

2,423 Views
chenfei_203
Contributor I

如题,在使用RT1064访问NAND时,配置成SEMC时钟144MHz,NAND模式配置成mode5。实测波形如图,红圈中为读取的4byte内容,后续总线进入了长时间的等待,然后再开启下一次4byte内容读取,最终实测读取速度仅为5MB/s左右。

在论坛内SEMC SRAM Performance 该问题也遇到了总线速度不理想的状况,且无法减小图中总线空闲时间。

请问还有什么方法可以提高吗,另外在配置SEMC时钟166MHz时提供的API函数配置NAND时序无法正常访问。

pastedImage_1.png

Regards

Labels (4)
0 Kudos
6 Replies

2,227 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

你好,

刚才跟RT产品组沟通过,我们内部测得的SEMC NAND Flash读取速度基本上是5MB/s。

目前看来没有什么可以优化用来提高SEMC NAND Flash吞吐率。


Have a great day,
Mike

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

2,227 Views
chenfei_203
Contributor I

另外麻烦问一下造成当前读速率不能提升的原因是什么。

从波形上看8bit总线时序是可配置成较快速度的,4byte读之后NAND控制器进入IDLE状态?内部在拼装数据送往AXI总线供内核读取?

个人测试了SRAM的外设读时序,读完4byte内容后等待100ns左右会进入下一次4byte内容的读取,没有上面波形图中那么明显的等待时间,是不是因为nand控制器本身较慢导致的长时间等待。

谢谢。

0 Kudos

2,227 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

你好,

能否提供SEMC NAND 相关配置寄存器信息?

NAND吞吐率不佳,有NAND控制器本身访问时序原因,我让产品组帮忙看看SEMC寄存器配置能否再提高一些。

谢谢。

0 Kudos

2,227 Views
chenfei_203
Contributor I

你好

代码已发附件,麻烦帮忙看看呢,消息

在 2020-04-20 14:50:52,"Hui_Ma" <admin@community.nxp.com> 写道:

|

|

NXP Community

|

|

Re: 如何提高RT1064的SEMC接口访问NAND的速率

reply from Hui_Ma in i.MX RT - View the full discussion

你好,

能否提供SEMC NAND 相关配置寄存器信息?

NAND吞吐率不佳,有NAND控制器本身访问时序原因,我让产品组帮忙看看SEMC寄存器配置能否再提高一些。

谢谢。

Reply to this message by replying to this email, or go to the message on NXP Community

Start a new discussion in i.MX RT by email or at NXP Community

Following Re: 如何提高RT1064的SEMC接口访问NAND的速率 in these streams: Inbox

This email was sent by NXP Community because you are a registered user.

You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences

|

|

0 Kudos

2,227 Views
chenfei_203
Contributor I

谢谢,打算使用SRAM接口访问NAND,稍微提高一点速率

0 Kudos

2,227 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

你好,

请问你用到的驱动代码是SDK软件包提供的吗?

是否使用AXI总线访问外部的NAND Flash设备?

SEMC的 Base Register 4 (For NAND device) (BR4)是AXI总线访问配置寄存器。


Have a great day,
Mike

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos