AnsweredAssumed Answered

Problem using UART driver in DMA mode

Question asked by cscs on May 11, 2018
Latest reply on Jun 21, 2018 by cscs

Hi! Using CrossCore v2.7 & the UART Device Driver for SHARC+. Works as expected in interrupt mode, but when enabling DMA using adi_uart_EnableDMAMode() things break:

 

* Call to adi_uart_Write() freezes and nothing happens (nothing is sent).

* Registering a callback and trying to send using adi_uart_SubmitTxBuffer(), followed by adi_uart_EnableTx(), results in a "ADI_UART_EVENT_TX_DMA_ERROR" event.

 

Any help appreciated! (Again, everything works as expected in interrupt mode, but breaks when enabling DMA.)

Outcomes