Thank you very much. I understand. The code works now, but there are still two questions that I don't understand
In the main function, using "Lpuart_Uart_Ip_SyncSend" can interrupt, but it cannot receive data correctly. If it is changed to "Lpuart_Uart_Ip_AsyncSend", it can still run. What might be the reason?
2. What was sent was "Hello, This message is sent via Uart!" \r\n, but there will be one less /n when receiving. If I change the code to Lpuart_Uart_Ip_AsyncSend(0, WELCOME_MSG, strlen(WELCOME_MSG)+1); Then /n can be received. What could be the reason
Neo1096_0-1750319682105.png
Neo1096_1-1750319768853.png