Hi,
I am trying to configure the UART DMA for receiving data.
I referred the uart_dma code from sdk, but that code is only for DMATX and DMARX interrupts. So in that code, only DMA is going to trigger the handler. Hence, it doesn't check the DMA transfer complete flags on the handler.
But i want to get the DMA for receive while the Tx interrupt to transmit data.
I have configured the DMA receive as well as the Tx interrupt.
But my problem is, how to detect which interrupt has triggered my handler.
I tried to check the status of UART_INT_DMARX on the handler, but that didn't helped.
How should i detect the whether my DMA receive is completed or not??
Thank you in advance.
Regards,
Abhishek.