MPC5777M: How to ensure shared memory coherency

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

MPC5777M: How to ensure shared memory coherency

543 Views
alainfelici
Contributor I

Hello all, 

We are writing an application requiring shared memory berween core and cache enabled (for perfomance issue). 

The memory will be updated by two ways: The classical one (store memory) and DMA. 

I don't know how to ensure cache coherency in these cases. Is someone can help us?

Thanks for you help. 

Alain 

0 Kudos
1 Reply

431 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

This microcontroller do not implement cache coherency unit.

So you have to:

1.) For resource sharing you can use XBAR settings to prioritize accesses. So DMA won't access to memory while it is used by core and vice versa.

2.) Use SMPU to disable caching on memory area share between core and DMA. This is common case.

Peter

0 Kudos