This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C66X edma3 疑问



说6678的EDMA3 CC2,里面有64个DMA channels,64个interrupt channel,4个event queues 和4个TC和8个shadow regions。
①一般一个EDMA3 是由TC 和CC组成的,此处的CC2 有4个TC和64个channels,但是在代码里面一般配置的是channel--》 map--》 参数集,没见到有配TC的,这是为什么呢?
②如何理解64个DMA channels,64个interrupt channel,4个event queues 和4个TC他们之间的关系呢?
谢谢,期待回复

  • Channel通过DMAQNUMn控制映射到哪个队列,队列通过QUETCMAP来配置与TC的映射关系。

    The Queue-to-TC Mapping Register (QUETCMAP) defines the mapping between Event queue n and the TC number. By default, there is a one-to-one mapping between the Event queues and the Transfer Controllers. Therefore, the Transfer requests (TRs) associated with events in Q0 get submitted to TC0, TRs associated with events in Q1 get submitted to TC1, and so on.
    请看EDMA手册 P21的图示。
    www.ti.com/.../sprugs5b.pdf