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.

EDMA mapping

Sivaraj,

What are the steps to map UART_1_TX to the EDMA_1?  I was under the impression that I needed to use the event associated with the UART_1_TX...

Chapter 16.2.6 of the C6748 reference manual seems to confirm that.  Do I just need to set it up as a manually triggered event?

  • Chris

    The UART1 TX event is mapped to event/channel 13 on EDMA_0. This is hardwired in design, so you cannot route the UART Tx events to EDMA_1.

  • Hi Chris,

    As per Mukul's statement in the above post, if it is hardwired in  the design, no other go, you have to use the same EDMA_0 to receive data from McBSP1 as well to send data over UART1, So, you cannot map the UART1 Tx events to EDMA_1  other than to program the priority of each transfer controller's service request with respect to each other and also with respect to other master peripherals in the system.

    Thanks & regards,

    Sivaraj K

    ---------------------------------------------------------------------------------
    Please click the
    Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------
  • I see... I'm still an EDMA3 beginner, so thank you for being patient with me.

    If I'm going to use TC0 with McBSP, and TC1 with the UART,  do I need to call the EDMA3Init api for both evtq0 and evtq1?

    And then when I call the RequestChannel API for the McBSP, I map it to evtq0, and the UART to evtq1?

    During the EDMA3 init, I can use the HWREG api to set the QUEPRI register so that Q0 is higher priority than Q1,  and will also set the MasterPRI registers so the TC0 is higher priority than TC1?

    Is that all that is needed?

  • Chris,

    Yes, you are right. You shall go ahead with the current setup you have mentioned above.

    Thanks for your understanding.

    Regards,

    Sivaraj K

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