When the D-Flash of the S32K118 chip is in raw storage, it is found that the written data is inconsistent with the read data. The first 8 bytes of data obtained each time are not updated, as shown in the following figure
(Flash related operations in the following figure are synchronous blocking.)
I think it's needed to have the Fls_MainFuction() called between each time you call the Fls_Read/Fls_Write functions
I'm checking with release SW32K1_RTD_4.4_1.0.1_HF01
Sorry for this lately reply.
Thank you,
Nam.