MKE02Z64 UART

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MKE02Z64 UART

648 次查看
dec88888888
Contributor I

"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."

0 项奖励
回复
1 回复

618 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

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:

https://wenku.baidu.com/view/9ab6d1acb4daa58da1114a1d.html?fr=aladdin664466&ind=4&hitsid=1&target=%E...

Hope it can help you

BR

XiangJun Rong

0 项奖励
回复