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,

    Your example code was helpful to get me started but I want to use the interrupts instead of polling the UART0STAT register. According to EE-296, it should be possible without altering the UART0IER register and according to http://ez.analog.com/message/6041, mapping the UART Tx/Rx interrupts to any of the programmable interrupts using PICRx registers should do the trick but somehow, attached code doesn't seem to work after the first DMA. What am I missing here?

    Thanks in advance,

    Ibrahim

Reply
  • Hi Mitesh,

    Your example code was helpful to get me started but I want to use the interrupts instead of polling the UART0STAT register. According to EE-296, it should be possible without altering the UART0IER register and according to http://ez.analog.com/message/6041, mapping the UART Tx/Rx interrupts to any of the programmable interrupts using PICRx registers should do the trick but somehow, attached code doesn't seem to work after the first DMA. What am I missing here?

    Thanks in advance,

    Ibrahim

Children
No Data