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.

CCS/TDA3XEVM: How to configure Vertical auto-increment in EDMA?

Part Number: TDA3XEVM


Tool/software: Code Composer Studio

Hi,friends.

I am using EDMA in EVE.

In DMAUtilsLibrary_UserGuide.pdf, I see this sentence.

"Vertical auto-increment: In this usecase, blocks are first incremented in vertical direction then in horizontal direction."

But I don't see how to set Vertical auto-increment in the documentation.

Can you tell me how to configure Vertical auto-increment?

Thanks.

  • Hi Henry,

        dmautils interface has extBlkIncrementX and extBlkIncrementY variables. These are used to decide which direction you want to move to. Only thing which you should be carefull is that these variables are in terms of 16 bit signed integer so maximum jump which you can provide for extBlkIncrementY  is limited by that.


    Regards,

    Anshu

  • Hi,Anshu

    Thank you for the reply.

    I have both horizontal and vertical increments in EDMA, and I want to increment first in the vertical direction and then in the horizontal direction.

    So I set both the extBlkIncrementX and extBlkIncrementY variables.

    But the default order of EDMA is horizontal first and then vertical.

    How do I set EDMA to be vertical first and then horizontal?

  • You can give extBlkIncrementX to be pitch * blockHeight. Note that this should be less than 16bit signed number.

    Regards,

    Anshu