infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 24 of 24

Thread: UART and GPDMA

  1. #21
    Advanced Advanced Zain is on a distinguished road
    Join Date
    Jun 2013
    Posts
    277
    Points
    805
    Hi,

    Not sure whether you can use "Linked list multi-block transfer with auto-reload DAR"? There is a simple start "XMC_HOT: XMC4500:How to do Multi BLK DMA transfer (SRC Linked list n DST contiguous)?"

    BR,
    Zain

  2. #22
    Quote Originally Posted by haakonsbakken View Post
    Hello Jesus,

    Well, yes. CH_SUSP does suspend a DMA channel. And, I finally found a way to solve this which involves suspending each channel until none are running, then disable the DMA IRQ (otherwise the interrupt is immediately active as there are no data to transfer, causing no other code to be reached). To be able to restart the whole thing I also need to disable the DMA channels (CHENREG), set the DAR, reset CH_SUSP, reenable DMA channels (CHENREG, MASKBLOCK, CLEARBLOCK), clear pending DMA IRQs and reenable DMA IRQ. In addition, support has suggested stopping and restarting the VADC groups as part of this procedure. Phew!

    Thanks, anyway.
    /Åse Maj
    (https://www.infineonforums.com/thread...ull=1#post4192)

    seems to work. When "everything is down" you can change the Destination address.

  3. #23
    Hi,

    New Question:

    Szenario: I've got an text to put out of UART. The length is variable and >64B. The solution is GPDMA Transfer with Software Handshaking?! Is there another way to success?
    Someone got a little example code for Software Handshaking DMA->UART?

    All the examples I can find use Hardware Handshaking and a fixed Output length.

  4. #24
    Beginner Beginner olnol is on a distinguished road
    Join Date
    Nov 2014
    Posts
    12
    Points
    63.90625
    I am also interesting in some example code regarding the question above? Please could anyone help?

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.