K65 Allowing for Cache and DMA coherence

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

K65 Allowing for Cache and DMA coherence

627件の閲覧回数
unknowncoder
Contributor III

Background

  • I am looking at enabling the code cache controller on the K65 to improve performance.
  • I utilize DMA for peripheral to memory and memory to peripheral transfer.
  • I know cache and DMA don't normally work good together and the normal operation is to invalidate the cache before/after, read/write respectively.

Question

  • From the Table 30-1 it shows that SRAM is non-cacheable. Given this if I make sure that all access with DMA occurs within SRAM would I need to invalidate the cache still?

Thanks

ラベル(1)
タグ(4)
0 件の賞賛
3 返答(返信)

555件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Yes, you are right. SRAM in K65 is a kind of TCM. Its speed is same as M4 kernel. It needn't cache.

Regards,

Jing

0 件の賞賛

555件の閲覧回数
unknowncoder
Contributor III

Are both upper and lower memory tightly coupled memory to the core? 

0 件の賞賛

555件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Yes.

Regards,

Jing

0 件の賞賛