Part Number: AM2632
Hello TI team,
I' m trying to receive one response of external device via UART by invoking API "UART_read" twice under UART DMA mode. Because the data length of external device is varied, and the fourth and fifth bytes are the data length of current response. So I want to read the first five bytes and calculate the data length of this response, then I will read the rest bytes of this response. For now, I found that I can't read the rest bytes when I invoke the API "UART_read". Please help me to implement this feature, Thanks for your help.
The screenshot below is an example of the external device response.

The screenshot below is the UART configurations in our project.






