Hi Prashant,
According to your code, the following code is used to setup up the DMA to receive the data from the RXD, the DMA won't enter the DMA interrupt handler if the received data doesn't reach the MAX_PACKET_LEN.
It behaves meet up with the expectation.
//enable receive setup before transmit here
setDMA_ReceiveData(rxBuffer, MAX_PACKET_LEN);
Regrading to UART time-out interrupt, I don't find some functions to enable or setup up interrupt, moreover you already set the UART1 works in DMA mode.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------