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.

MSP430G2553 & Teraterm

Other Parts Discussed in Thread: MSP430G2553

Dear Sir,

              I am having following confusions regarding MSP430G2553.

             1. How can we send a character from PC to msp430g2553 launchpad through uart using teraterm?

             2.How to configure teraterm for checking whether the  receiver program is working on microcontroller or not?

regards

Akhilesh Sati

  • akhilesh sati said:
    1. How can we send a character from PC to msp430g2553 launchpad through uart using teraterm?

    TeraTerm (as all terminal programs) connects to a COM port on your PC. It may be a real COM port, or a virtual one such as teh application UART of the LaunchPad, or the virtual COM port of an USB/serial converter.
    If using a real COM ort or an USB/serial converter, you'll need to connect teh MSP on the launchPad correctly (including a level shifter). If using the application UART, you have to set the jumpers properly for RX/TX. And the maximum baudrate is 9600Bd then (with the other two options, you can go up to 115200Bd or even higher).

    How to program the serieal transfer, see the various demo codes available on the MSP product page or in this forum.

    akhilesh sati said:
    How to configure teraterm

    Depends on your computer. Wiht the applciaiotn UART, the maximum baudrat eis 9600Bd, no handshake, no parity. When using a different connection, it depends on your software on the MSP what baudrate you use and whether parity is used or handshake is supported.
    The COM port to select is different on every PC.

  • Hi Jens

    By the way, I just give you some suggestions.

    You can setup the Terminal  Local Echo and then you can see something you type it. 

  • akhilesh sati said:
    1. How can we send a character from PC to msp430g2553 launchpad through uart using teraterm?

    Teraterm (or any other PC application) neither knows nor cares anything about "msp430".

    All Teraterm (or any other PC application) can see is a COM: port from which it can receive bytes, and to which it can send bytes -  it knows not whence they come, nor whither they go.

    Similarly, the MSP430 chip neither knows nor cares anything about the PC or Teraterm; it simply sends bytes out of the UART, and receives bytes into the UART - it knows not whence they come nor whither they go.

    http://e2e.ti.com/support/microcontrollers/stellaris_arm/f/471/p/257755/902011.aspx#902011

    akhilesh sati said:
     2.How to configure teraterm for checking whether the  receiver program is working on microcontroller or not?

    Nothing on the PC (well, other than a debugger) can tell whether the receiver in the MSP430 is working properly;  again, the PC just sends the bytes out of its COM port - it cannot know what happens to them once they have left the COM port.

    To confirm what is received by the MSP430, you will have to put some code on the MSP430 to do that; eg,

    • on some LEDs;
    • on an LCD;
    • send the received characters back through the UART;
    • etc, etc,..

    Of course, sending the received characters back through the UART requires that you have working UART transmit code & hardware. Therefore I would suggest that your first task should be to do a simple program on the MSP430 to send "Hello World" out of the UART, and receive that on your PC. That will demonstrate that you can successfully transmit data through the UART to the PC.

    Then practice using the debugger to watch the execution of this simple program. The debugger is an essential tool - you really need to get to know it well!

    Your next step would then be to send variable data through the UART.

    Now you are ready to start receiving data through the UART, and sending it back for verification...

     

  • Andy Neil said:
    Nothing on the PC (well, other than a debugger) can tell whether the receiver in the MSP430 is working properly;  again, the PC just sends the bytes out of its COM port - it cannot know what happens to them once they have left the COM port.

    It's just like sending a letter in the mail - you can't tell when, where, or even whether it's delivered - unless you make some additional arrangements...

**Attention** This is a public forum