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.

TMS570LS3137: How to configure DMA receive channel

Part Number: TMS570LS3137

Hi,

While configuring DMA channels do we need to use the same channel for both Transmitter and Receiver, or it must be different?

Is there any criteria or list on which channels should be used for transmitting and which should be used for receiving?

  • Hi Someswararao malla,

    Source and Destination addresses are part of DMA Channel Control Packets and each control packet is associated with a DMA channel. If you change the control packet of an active channel (for example source and destination addresses) - the channel will stop. When you trigger again same channel, it will begin with the info from new control packet. If we are speaking for transferring data simultaneously from/to peripheral you should use different channels as "receiver" and "transmitter".
    You can use any channel for "receiving" and "transmitting".



    Best regards
    Miro
  • Hello,

    If you transfer data from memory (SRAM, EMIF, flash) to memory (SRAM, EMIF), you can use any channel for read and write. The SW trigger is used to start the data transfer. The channel for read and write should be different.

    If you transfer data from memory to peripheral registers or from registers to memory, you can use any channels for read and write too, but the DMA request line is different for read/write and for different peripheral. Please refer to the DMA channel assignment table in datasheet.

    Table 6-32. DMA Request Line Connection, Page 95, SPNS162C.pdf