LPUART Demos Issue

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

LPUART Demos Issue

1,137 次查看
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 项奖励
回复
2 回复数

1,039 次查看
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 项奖励
回复

1,039 次查看
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 项奖励
回复