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

Forum Post: RE: MSP430G2452 Software UART Communication

$
0
0
Hi, I'm not seeing the same behavior you describe in your code. Even with the CCR2 register populated and firing interrupts. How are you echoing back the data? In your code you are echoing back rxBuffer but that is only one character. How are you sending the whole string back to the PC? Also, be sure not to set any breakpoints within the receive ISR. If your code is stopping for you to view a character being received, you will lose that data. Finally, '*' in ASCII hex is 0x2A not 0xFF. This website is a good table showing the hex values of ASCII characters for debugging: Ascii Table . Best regards, Caleb Overbay

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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