SCI help needed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SCI help needed

393 Views
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?

Labels (1)
0 Kudos
1 Reply

246 Views
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 Kudos