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

Forum Post: RE: MSP430 problem with reading from UART when NOT debugging through JTAG

$
0
0
Also, can you please attach more of your code here as well as any related .h or .c files? I'm having a hard time understanding where and how your two code sections above are used (such as in main(), ISR, etc.). In the meantime, take a look at the msp430x54xA_uscia0_uart_04.c example code (attached below). First, I'd recommend changing your configuration flow to match this example code. In the second code section above, I noticed that you're selecting the clocks while resetting the USCI state machine, which should be done first and separately. According to the NOTE in Section 36.3.1 USCI Initialization and Reset in the User's Guide , "configure the USCI_A module only when UCSWRST has been set to avoid unpredictable behavior". Regards, James MSP Customer Applications (Please visit the site to view this file)

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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