RWW(read while write)

cancel
Showing results for 
Search instead for 
Did you mean: 

RWW(read while write)

126 Views
Contributor II

hello,

how to test read and write function for S32k146 ?  can you give me a demo code for this test?

0 Kudos
1 Reply

82 Views
NXP TechSupport
NXP TechSupport

Hello,

For example, we can see that reading /executing code during an erase/write operation is not allowed on the same flash block in the RM rev 12.1

pastedImage_1.png

So, the program phrase functions and erase flash sector functions are a test of "simultaneous flash operations" itself because it cannot run in the same flash block which are being erased/programmed.

For example, in the attached simple test code, you can see these functions which are placed in RAM to avoid executing code/reading from the same flash block during write.

I hope it helps.

Best regards,

Diana

0 Kudos