how the flash speculative read works?

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

how the flash speculative read works?

307 Views
yaojianhang
Contributor II

HI,

In S32-RM, 35.2.2 "Speculative reads" chapter,  It provides a scenario where core requests eight (for Program Flash)  sequntial longwords in back-to-back requests and there is no wait state because of flash speculative read.

My question is, when core requests above eight  (for Program Flash)  sequntial longwords, can s32k speculative reads can also eliminate wait states when accessing data in Program Flash? Can make it more clearly about how the flash speculaive read works?

BR,

yaojianhang

0 Kudos
1 Reply

272 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

I am completely what you are asking about as it is just described in the mentioned RM section.

Let me simplify: If you read address 0, FMC automatically also reads also addresses 1-7, in other words it load the whole line. It is the "speculative" read i.e. it is being read without any prove it will be needed subsequently.

0 Kudos