Part Number: AM2634 Tool/software: Dear Team, we have to use UART DMA callback for our application, now we are getting DMA callback interrupt first time only but it is not able to receive the interrupt next time and so on. we are using uart_echo_dma() example as a reference. After getting callback we have to reinitialize the DMA callback for next msg or Data. but after reinitializing also i'm not getting the DMA callback interrupt next time, please any one help me to resolve this issue. DMA receive callback function. void RxCallback(UART_Handle handle, UART_Transaction *trans) { /* Read 8 chars */ gNumBytesRead = 0U; trans->buf = &gUartReceiveBuffer[0U]; trans->count = APP_UART_RECEIVE_BUFSIZE; UART_Transaction_init(trans); CacheP_wbInv((void *)&gUartReceiveBuffer[0U], APP_UART_RECEIVE_BUFSIZE, CacheP_TYPE_ALL); transferOKrx = UART_read(gUartHandle[CONFIG_UART_CONSOLE], trans); APP_UART_ASSERT_ON_FAILURE(transferOKrx, trans); } please let me know what is the best way to receive the data for the next time and forever.
↧