I call the code of the official lpuart routine and make a small change here, but why does the serial port receive only 'Hello W' after I do this? If I send 'Hello Board' without making any changes and follow the code in the official routine, I do receive 'Hello World', so I don't understand why
解決済! 解決策の投稿を見る。
Hi@kalajiao
The process of receiving and sending data is correct, the error caused by 'bufferIdx'.You need to modify 'bufferIdx' value.
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Best Regards!
Jim.
Hi@kalajiao
The process of receiving and sending data is correct, the error caused by 'bufferIdx'.You need to modify 'bufferIdx' value.
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Best Regards!
Jim.
Hi@kalajiao
If this post answers your question, please click the "Mark Correct" button. Thank you!
BR!
Jim.
thank you for your help