Part Number: MSP-EXP430G2ET I am trying to use the backchannel uart to talk to a computer, just to send simple data. I want to send binary, ascii, or something similar, basically just some sort of simple data. I have configured all of the UART stuff, and it works great in loopback mode, so that the receive and send values are what I expect. However, when I take it out of loopback mode, I cannot get it to talk to a computer (currently using MATLAB to control the USB ports). Using an oscilloscope to debug, the RXD pin doesn't fluctuate at all, even when the computer sends data. The TXD pin can send data, and the scope shows the expected pattern of behavior, but the computer does not appear to receive it. Oddly, though, when the computer sends data, the TXD pin sometimes becomes noisy (the high and low values have rapid fluctuations in them, while still clearly following the pattern and timing of the signal its supposed to be sending). Both the computer and MSP are configured to 9600 baud rate, even parity, MSB first/big endian, 8 bit data, 2 stop bits. I'm 90% sure that the RXD and TXD pins are multiplexed to the correct peripheral. Why do neither the MSP's signals nor the computer's signals seem to reach the other device? Since I don't get any signal on the RXD pin at all, does that mean the issue is on the MSP's end? Thank you! Here's a file with my code (Please visit the site to view this file)
↧
Forum Post: MSP-EXP430G2ET: Backchannel UART not working, but computer and MSP have same parameters
↧