RWW(read while write)

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

RWW(read while write)

1,509 Views
814420552
Contributor III

hello,

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

0 Kudos
1 Reply

1,465 Views
dianabatrlova
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