LPUART Demos Issue

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

LPUART Demos Issue

828 Views
dannydeng
Contributor III

Dears,

I built a new 'lpuart_echo_s32k146' project from S32SDK RTM3.0.0 with S32K146EVB, and I can see RX data, it can not reply to PC Monitor, it stuck at

while(LPUART_DRV_GetReceiveStatus(INST_LPUART1, &bytesRemaining) == STATUS_BUSY);

Can you help to advice, attached the monitor result,

BRs,

Ray

0 Kudos
2 Replies

730 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

this demo works this way. It waits for string (either finished by new line character or until buffer is full) and then it sends the string back.

Terminal program must be configured to sent '\n' character for new line, then after ENTER is pressed whole received string is sent back.

BR, Petr

0 Kudos

730 Views
dannydeng
Contributor III

Hi Petr,

   Thanks for your response,

  Seems I need to chage ‘\n’ to '\r‘  in Windows system, otherwise it cannot work,

BRs,

Ray

0 Kudos