SCI help needed

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

SCI help needed

743件の閲覧回数
ignisuti
Contributor IV

I'm using the SCI3 on a MCF51CN128 processor. It's connected to a CP2102 chip to convert from UART to USB signals. I have my board connected to a PC running HyperTerminal and am trying to talk to the unit. It's working well in most situations.

 

However, it will occasionally get into a state where the Vsci3rx interrupt is being triggered repeatedly by a single keypress.  The interrupt continues indefinitly.

 

What kinds of things should I look for and double-check?

ラベル(1)
0 件の賞賛
返信
1 返信

596件の閲覧回数
ignisuti
Contributor IV

I figured out that I can fix the problem by placing the following line fo code in my interrupt. But why does this work. Help me understand please.

 

while( XMIT_BUF_EMPTY_FLAG3 == 0 ) { ; }

 

0 件の賞賛
返信