Hi all,
I have the following questions about UDMA:
- Can we use UDMA to transfer data between DDR and L2SRAM? I have changed the location of destBuf from DDR to L2SRAM in the example "udma_memcpy_test", but the program executed failed on C66 DSP.
- Can we attach different events to different TRPDs in one channel? If 'No', when we have several TR tasks to sync, do we have to establish several channesl? I have profiled the process of establishing a UDMA channel, it takes very many cycles. What should we do in the situation of syncing a lot of TR tasks?
- I have profiled the speed of transfering data in a Normal channel and a DRU channel in C66 DSP. Their speed difference is very large, probably about 10 times. When to use Normal Channel and when to use DRU Channel,.
- If we don't attach any ring to a DRU channel, can we submit several TRPD to the DRU channel at the same time?
- When we test the UDMA examples,I found that when I set different L2 cache size, the transfer speed of UDMA varies greatly. Whether it is Normal channel or DRU channel. For example, when I transmit 1000 bytes, the number of cycles consumed can be more than doubled. I want to know how much the size of the L2Cache is more suitable. Can you please provide any suggestions on C66 programming? How large should we set L2 as cache or SRAM.
THX a lot!!!