s32k qspi read

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

s32k qspi read

2,808件の閲覧回数
erdoganguler
Contributor II

Hello,

I want to read data from flash without waiting. I mean, for example I have 512 Byte circular buffer and first I will read data from flash and put them there. After than i will start working on data. When I work on buffer[127], I want to take 128 byte data from flash and put them buffer[0 -125] and in that time keep working on buffer[127-255]. And when I work on buffer[255], I want to take 128 byte data from flash and put them buffer[127 -255]  I dont want to lose time for waiting flash status to be not busy.

How can i set up this situation?

タグ(5)
2 返答(返信)

2,728件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello erdoganguler,

You can refer to the flash_mx25l6433f1 SDK driver.

There is also this qspi_external_flash_s32k148 example.

The FLASH_MX25L6433F_DRV_Read() function does not block the CPU.

You can be working on the previously read data while another read operation is in progress.

This is taken from the SDK documentation of the driver located in the SDK installation directory:

.../NXP/S32DS_ARM_v2.2/S32DS/software/S32SDK_S32K1xx_RTM_3.0.0/doc/html_S32K148/group__flash__mx25l6433f__drv.html

pastedImage_2.png

Regards,

Daniel

2,728件の閲覧回数
erdoganguler
Contributor II

Thank you Daniel 

0 件の賞賛
返信