S32R274 Data cache Flush?

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

S32R274 Data cache Flush?

1,144 Views
amulrass_vazhum
Contributor II

Hi,

I am using S32R274 controller, I need to Flush the Data-cache to Main memory on certain conditions.

The S32R274 controller supports write-through mode only, so invalidating a cache-line by L1FINV0 is sufficient? or do I need to use dcbf instruction?

Regards

Amulrass V

0 Kudos
Reply
2 Replies

1,023 Views
amulrass_vazhum
Contributor II

Hi, thanks a lot:)

0 Kudos
Reply

1,023 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, there is no need of flush cache content as cache line is allocated only during reads and writes always accesses also target memory. As copy-back mode is not present on the device, invalidate operation is enough.

0 Kudos
Reply