UART DMA issue

Hi everyone.

I'm working on a project with the ADSP-21369 EZ-kit lite and I have some issues related to the UART DMA.

I'd like to transmit a large amout of data through the UART without having to wait for the transmission of every single character because the project I'm working on is supposed to run in real-time. I think UART DMA might be the solution so that other algorithms can run while the data is transmitted. Am I right? By the way, how does UART DMA works? Is there any example you might provide?

Thanks,

-Pedro

Parents
  • Hi Mitesh,

    I think we have found where the problem is. If you have a look at the attached program, we have to wait for a while after ISR before disabling the UART. I think the interrupt is latched earlier than transmitting the last byte(s). Is there a better or more accurate way to identify when the last transmission is complete?

    Thanks,

    Ibrahim

Reply
  • Hi Mitesh,

    I think we have found where the problem is. If you have a look at the attached program, we have to wait for a while after ISR before disabling the UART. I think the interrupt is latched earlier than transmitting the last byte(s). Is there a better or more accurate way to identify when the last transmission is complete?

    Thanks,

    Ibrahim

Children
No Data