This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR2355: Trying to send characters to Target from Terminal?

Part Number: MSP430FR2355

I have a skeleton piece of code and I would like to receive characters from the laptop to my target.  I open the terminal window and set the correct baud rate.  I am able to transmit to the terminal messages but when I enter keystrokes they don't seem to appear on my terminal window (I have the same thing when I try putty)....Can someone tell me what I am doing wrong here?

thanks

  • It sounds like your target is not echoing the characters it receives. It is standard for terminals to not print what you type although there are usually settings available to make it do that.

  • I found the toggle switch on the Terminal but I never get into my rcvr ISR?  (see code below)  ....baud rate is 19200

    I am using the MSP430FR2355 Development board and I have jumpers on RXD and TXD on J101 per the schematic....I also have jumpers on the SBWTDIO and SBWTCK.

    UART function is called prior to while to initialize to 19200 baud (as I said the tx to the terminal is working) ...see init code below:

  • Hi Steve,

    As for your first question: your keystrokes appearing in your terminal window is likely just a matter of changing the settings on your terminal window. 

    For the second matter, of never entering your receive ISR: When looking over your UART initialization function, it looks like you set bits 3 and 4 of the P4SEL0 register to utilize the secondary functions of pins 4.3 and 4.4. The secondary function of pin 4.3 is UCA1TXD, which is correct for starting the UART connection, but the secondary function of pin 4.4 is UCB1STE, which is utilized for the SPI interface. Instead of setting bit 4, try setting bit 2, to utilize the secondary function of pin 4.2, which is UCA1RXD. This should allow your MSP430FR2355 to receive data over UART.

  • Thanks Dylan....I just noticed that as well!!  It works now

**Attention** This is a public forum