Tool/software:
Hi Team,
I'm working on AM2634 eval board, and try to receive data on UART in DMA mode, its working fine with existing code example but it run only one time,
I want to use it continuously, please let me know the best way to do
I tried this also but not working
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);
}
