MPC5777M: How to ensure shared memory coherency

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5777M: How to ensure shared memory coherency

1,346件の閲覧回数
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 件の賞賛
返信
1 返信

1,234件の閲覧回数
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 件の賞賛
返信