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

Forum Post: RE: CCS/MSP430FR4133: MSP430FR4133 - CodeComposer Studui and the TXD - UCTXIFG Flag

$
0
0
Thank you for your comment! I think your answer as from your point of view ok - but this is not the exact problem I have! If the while(!(UCA0IFG&UCTXIFG)) Condition stands in the interrupt routine, I works correct. If I use this TXD-PIN (or UCA0TXBUF) in a function - which is called from the main routine, the MSP430FR4133 stands still. while(!(UCA0IFG & UCTXIFG)); UCA0TXBUF = 'X'; I can see that the UCTXIFG = 0 at this moment - but this is not logical, because if the program writes to the UCA0TXBUF - the datas should be sent to the TXD-PIN. In the DEBUG-Mode I can see that the programm is in this while - routine, and the program therefore stands still. Can you tell me the reason, why this is??

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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