Hi, HALCoGen has DMA support, but it does not provide a GUI configuratioon like other drivers. It generates the DMA driver code along with other drivers. After reading your query, I think the issue is with the cache. Can you rerun your code with cache disabled? Since the TX_DATA is filled after the cache is enabled (configured as write back), the data resides only in the cache. And hence DMA copies the the old data from the buffer (which I believe is all zeros). I think this is the reason you don't find the correct data in the RX_DATA buffer. As a workaround I suggest you to move the TX_DATA and RX_DATA buffers to the non-cache RAM region Hope this helps! Thanks and Regards, Veena
↧