hyperFlash write access

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

hyperFlash write access

跳至解决方案
1,378 次查看
rans
Senior Contributor I

Hello,

I would please like to ask about hyperFlash example (evkmimxrt1050_flexspi_hyper_flash_polling_transfer):

In the example, I see the following parts:

1. hyperFlash initialization

2. hyperFlash write of page

3. hyperFlash read of page

4. compare the read and write contents.

I had assumed that flexSPI interface only needs to be initialized (There is LUT for read and write command) , and then can be accessed by direct read/write from the absolute address (where the device is mapped to).

Yet, I see that the write functionality is done through wrappers:

flexspi_nor_flash_page_program -> FLEXSPI_TransferBlocking -> FLEXSPI_WriteBlocking

The read is done by direct access to address, is expected.

Can someone explain why the write must use this wrappers ?

Thank you,

ranran

0 项奖励
回复
1 解答
1,187 次查看
igorpadykov
NXP Employee
NXP Employee

Hi ranran

>Can someone explain why the write must use this wrappers ?

since writing procedure requires some time for performing flashing
sequence, it waits (using blockng wrapper) until hyperflash will be ready for
next usage.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,188 次查看
igorpadykov
NXP Employee
NXP Employee

Hi ranran

>Can someone explain why the write must use this wrappers ?

since writing procedure requires some time for performing flashing
sequence, it waits (using blockng wrapper) until hyperflash will be ready for
next usage.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复