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.

ACPY3 queue full and cpu stall behavior

Hi, guys,

I see in this wiki page:

http://processors.wiki.ti.com/index.php/Framework_Components_DMAN3/ACPY3_Users_Guide#DMA_Transfer_Submission_and_Synchronization_using_ACPY3

In order to start multiple DMA transfers simultaneously but in a strict FIFO order, the IDMA3 interface introduces the notion of logical channels with more than 1 configurable transfer.

Does this means that, after starting one transfer on a logical channel, one can immediately reconfig that channel
and start it again?

What's the queue length, or, the upper limit of pending transfers?

In the worst case scenario, if the queue is full, is it going to cause cpu to stall or a transfer miss?

Thank you.

Dehuan

  • OK, in the same page:

    ACPY3_start returns to the caller (the algorithm) as soon as the transfer request is submitted to a logical or physical hardware queue or devices that will asynchronously perform the copy operation.

    Effectively, the answer to the first question is "yes" and to the last question is "stall"?

  • Hi,

    Thanks for your update.

    Yes, you are right, the CPU should stall untill the queue is emptied and will wait for the packets to complete transfer if the queue is full.

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------

  • Hi, Sivaraj,

    Is this queue length the hardware queue length or a software layer queue length?

    Is there a documentation about the length of it?


    Dehuan

  • Hi,

    Probably, it should be a software layer queue length and i don't think, we could find collaterals for the same since it is software based queue configuration.

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------