s32k qspi read

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

s32k qspi read

1,052 Views
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?

2 Replies

972 Views
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

972 Views
erdoganguler
Contributor II

Thank you Daniel 

0 Kudos