Andes Workshop
https://forum.andestech.com/

Data conflicts between DMA and cache
https://forum.andestech.com/viewtopic.php?f=25&t=965
Page 1 of 1

Author:  jimmy [ Thu Nov 17, 2016 12:54 pm ]
Post subject:  Data conflicts between DMA and cache

If DMA moves data in your system and cache enable as well, you must do "cache flush" and "cache invalidate" as following:

[*]Data from Memory to IO
[*][*]Before DMA operation, execute cache flush
[*]Data from IO to Memory
[*][*]After DMA operation, execute cache invalidate

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/