hyperFlash write access

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

hyperFlash write access

ソリューションへジャンプ
1,907件の閲覧回数
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,716件の閲覧回数
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,717件の閲覧回数
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 件の賞賛
返信