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.

AM2434: How to know the reload count with UDMA block copy

Part Number: AM2434

Dear Sir

I am trying to implement the process of repeating 100 byte transfer from address A to address B infinitely with UDMA of AM2434.

There is a member called "Reload Count" in "Table 11-32. Transfer Request Packet Descriptor Word 0" of TRM, and I am planning to set H'1FF here to loop the memory copy infinitely.

The description of Reload Count says "When an internal count is incremented". Is there a way to check "internal count"?

Please tell me which register it is in.

Best regards

  • Hi,

    We have assigned your thread to expert. As he is on vacation today, please expect some delay in response.

    Please feel free to ping if you don't hear from us by 1st of Aug.

    Regards,

    Prasad

  • Hi,

    I got the following feedback from internal experts.

    "The internal count is used to repeat the transfer until a specified custom number given in the Reload Count. In this case (i.e., when a specific number is set as Reload Count), each time when the TR is reloaded the internal count increments and this repeats until the internal count matches the specified Reload Count. This explains about how the TR is reloaded for specified number of times. I'm not aware of a way to read this internal count. Rather we may use the CHANNEL RT Stats to get some related relevant info:

    • UDMA_TRT_PCNT_j Register
    • UDMA_TRT_BCNT_j Register
    • UDMA_TRT_SBCNT_j Register

    Also, as mentioned in the case above, for perpetual loop case, the TRM also says loop count is considered infinite and the internal count will not be incremented."

    Regards,
    Frank