LPUART Demos Issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPUART Demos Issue

2,338件の閲覧回数
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 返答(返信)

2,240件の閲覧回数
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 件の賞賛
返信

2,240件の閲覧回数
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 件の賞賛
返信