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.

false sending character repeatedly

Other Parts Discussed in Thread: MSP430F5438A, MSP430WARE

Hi All

I need help with my problem. I am using board with MSP430F5438a. For communication using UCA1RXD and UCA1TXD pin.
Problem: When I send character from terminal , UART are sending this character repeatedly till reset. When I debugg it after

UCA1TXBUF = c;  //character

UCRXIFG is set and UART start sending some character.
What to do?
I am using licensed CCSv6.
Thank you.

  • Hi,

    without more description of your software and hardware configuration, it might be difficult to tell what causes the issue.

    however I would suggest you to first try running the UART example codes: http://www.ti.com/lit/zip/slac375 - you might need to change the register and I/O pin setting for USCI_A1 since the example codes are only for USCI_A0. Then starting from there, try to develop your code based on the example codes.

  • Thank you for response. On my doard, only XT2 16MHz is placed. For the first I must solve source of SMCLK.

    I did try msp430x54xA_UCS_8.c example. There are 9 errors appears. It concerns __SFR_FARPTR is undefined errors #20, #41, #80, #91. Please can you give me advice how to solve this problem.
    I consider next step will be example msp430x54xA_usceia0_uart_01.c.
    Thank you.

  • I did find new version of example msp430x54A_UCS_8.c. After building hollowing error appears

    can not open source  hal_pmm.h

    I did find that is the part of MSP430ware_1_90_00_30 and include other header file from this system.
    What to do?
    Thank you.

  • Hi,

    have you tried to use MSP430ware driverlib example instead? This will make things easier also.

    In CCS v6, go to "View" -> "Resource Explorer" and if you have installed MSP430ware you shall see this:

  • Dear Sir

    I am in CCS v.6. I did find it in MSP430ware - driverlib - example. I  did rewrite it to UART1 of MSP430F5438A. It did not function, when I sent character from terminal no interrupt service occur. I decide to use original UART0 version. On my board RX , TX pins are in connector in TTL version for future bootloader. I did order RS-232 module from MicroE. I did receive it yesterday. I will test all tomorrow. After testing I will send you message here.

**Attention** This is a public forum