AM6442: UART with DMA. How to enable UART RX with variable length

Part Number: AM6442

Tool/software:

Dear Experts

The requirement is for r5f core in am6442 to use  UART+DMA RX to receive transmissions with frame length of 20-110(variable )bytes, There is no indication of next frame length would be so the UART+DMA has to detect end of frame and issue interrupt to user

Data is expected to arrive every 4ms.

Is it possible to achieve this configuration with AM6442 , r5f + UART + DMA in non blocking mode.

Thank you

Alan I