Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: Weird UART behaviour when I clear Timer_A CCR interrupt Flag

$
0
0
I'm not sure that the specific clear flag command specifically causes the issue, but rather requires the MCU to remain in the Timer_A ISR for a few more cycles and creates an overlap/delay in serving UART functionality. You can replace CCTL2 &= ~CCIFG; with a few __no_operation(); instructions and see if this re-creates the problem. Regardless of this you should always be checking the TXEPT flag to make sure that the buffer is empty before populating TXBUF0. Regards, Ryan

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>