MPC5777M: How to ensure shared memory coherency

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5777M: How to ensure shared memory coherency

1,048 次查看
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 回复

936 次查看
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 项奖励
回复