UART Read

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

UART Read

543 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lavanyasubbu on Mon Dec 22 19:36:04 MST 2014
Hello
I am a newbie and just started using the LPCOpen on Lpc812 (expresso brd). Pretty nice doc and help.

I am using the blocking ROM UART (using CRLF for end point). However when the external device that the LPC812 communicates with goes into a "bad state" and shuts of communicaiton, the LPC812 is also "STUCK" and never comes out. Even after the external device comes back online it is desgined to only give out info when requested and doesnt inform of its state. SO the LPC812 never comes out of the loop.

Any suggestions on a timeout based approch for the LPC812 please? Should I use interrupts?

Thanks a bunch in advance

标签 (1)
0 项奖励
回复
0 回复数