Please refer to the following topic to increase buffer size for UART.
Modify the uart buffer size - Jetson & Embedded Systems / Jetson AGX Orin - NVIDIA Developer Forums
Could you help to share the detailed reproduce step for us to verify it locally?