Hi,
The EDMA3 controller 0 of L138 has two associated transfer controllers (TC0, TC1), so how do we know which TC will be used to execute a certain transfer request?
In “18.2.13.3 Dequeue Priority” of SPRUH77,
The priority of the associated transfer request (TR) is further mitigated by which event queue is being used for event submission (dictated by DMAQNUMn and QDMAQNUM). For submission of a TR to the transfer controller, events need to be dequeued from the event queues. A lower numbered queue has a higher dequeuing priority then a higher numbered queue. For example, if there are events in Q0 and Q1 and the respective transfer controllers (TC0 and TC1) are ready to receive the next TR from the EDMA3CC, then the transfer requests associated with events in Q0 will get submitted to TC0 prior to any transfer requests associated with events in Q1 getting submitted to TC1.
My understand from this paragraph is that this seems to suggest:
(1) The EDMA3 logic sorts the event queues first, with lower event number having higher dequeuing priority.
(2) The EDMA3 then pops out events. At this moment there could be at most two TCs free for the case of EDMA3_0, so
- If only one TC free, then that PC is used.
- If two TCs are free, then the one with smaller index number (TC0 < TC1) is used.
Is the actual rule SPRUH77 tried to tell us?
Paul