"While using the MKE02Z64 microprocessor to implement serial port data transmission and reception based on the FRDM-KEXX-Driver-Library-Package routine, I observed that the received data consistently omitted the second byte. For instance, when I transmitted 7E 02 30 32 0D (in HEX) from a PC, the simulated microprocessor consistently received 7E 30 32 0D. Furthermore, for other commands, there was always a missing second byte. Despite thorough investigation, I have been unable to identify the root cause of this issue."
Hi,
I suppose that the the "0x02" is STX, which is not a displaying character.
Pls try to change the data such as 0x30,0x31,0x32.... which are 0,1,2,3,4..., Pls try to change the data such as 0x41,0x42,0x43(A,B,C...).
This is ASCII code:
Hope it can help you
BR
XiangJun Rong