UART Read

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

UART Read

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