uart receive issue

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

uart receive issue

996 次查看
supra0309
Contributor I

Hi :

There's a problem if I use LINFLEXD_UART_DRV_ReceiveData function in 5746R, it won't receive any data when it run to the breakpoint first time, and if it keep running, the sequence of data in TX bfr is wrong(fig. 1 2 3). Please tell me how to figure out it, thanks.

supra0309_0-1686182617405.png

supra0309_1-1686182636758.png

supra0309_2-1686182676300.png

 

 

 

 

0 项奖励
回复
1 回复

974 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

try to swap send/receive functions, like below...
LINFLEXD_UART_DRV_ReceiveData
LINFLEXD_UART_DRV_SendDataBlocking

BR, Petr

0 项奖励
回复