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?
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 ) { ; }