Hello,
I can advise some points on how to prevent overrun error:
- Decrease the BaudRate value
- Set the higher priority of LPUART interrupt
- Choose the fastest clock source for the LPUART
- You can consider using the FIFO register, see 51.3.1.12 LPUART FIFO Register (FIFO) in the RM rev. 11.
I hope it helps.
Best regards,
Diana