uart receive issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

uart receive issue

810 Views
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 Kudos
Reply
1 Reply

788 Views
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 Kudos
Reply