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.

MSP430F6779: MSP430F6779EVM using issues

Part Number: MSP430F6779

Hi TI expert

I have created new firmware default using EnergyMeasurement Design Centre.

Have programmed the image in EVM. The code has UART port setting for 25MHz clock and 250K baud rate in uart_defs.h. We have connected RS232 to USB cable between EVM and laptop. Trying to see the prints thrown by firmware in Putty or Teraterm with same setting of code. But getting garbage characters. Could you help to check?

Best regards,

Thomas

  • Hi, 

    Please check if Energy Design Center can recieved the data or not by click the connect checkbox.

    If you just used the code generated from EDC, the protocol is our integrated protocol and it can be analyzed from EDC. But putty may not get a correct output. 

    Please check the 16-bit HEX data with UART monitor or other sw if you need understand the raw data. 

    B.R

  • Thanks for the Suggestion, we will surly try this.

    More on this thread , Can we change the boudrate to 115200 ? not for the EMDC, We want to redirect some debug prints to the UART.

    We have tried by applying the below changes.

    //115200 Baud Rate @ 25MHz

    #define UART__PRESCALER (0x0D)
    #define UART__FIRST_STAGE_MOD (0x0A)
    #define UART__SECOND_STAGE_MOD (0x00)

    Are we missing something ?

    Do you have any sample example for the "115200 UART boud rate settings" for the MSP430F6779?

    Regards,

    Prerak

  • Hi, 

    For the 115200 uart demo, you can refer to  

    // MSP430F677x Demo - USCI_A0, UART Echo received character
    // (ACLK 9600/SMCLK 9600/SMCLK 115200)

    For your idea, I would prefer to use the printf and output the debug from CCS terminal, it would be an easy way. You can output your own debug from UART for sure also. But you need change the UART protocol and disable the EMDC UART output in case the conflict of UART usage. 

    B.R

  • Thanks Buddy.

    We will check this and surly update you on the same.

    As of now we do not require EMDC communication. So we are planning to use that UART as the Debug.

    Regards,

    Prerak

  • Thanks for reply.

    • We have tried the sample code. We have done the loopback of Receive --> Transmit. But here we are not getting what we are typing. Characters are coming incorrect in response on Putty.
    • In our case we have disabled the call of "increaseVCoreToLevel2".
    • We have also tried to understand from below mentioned link. He has given link about one spread sheet which has baud rate calculations. But did not get success.

    • Try 1:

    BaudRate : 115200

    SMCLK : 16MHz

    Respective UCBRx, UCBRFx and UCBRSx are taken 

    • Try 2:

    BaudRate : 115200

    SMCL : 16000000

    Respective UCBRx, UCBRFx and UCBRSx are taken 

    • "
      Hawken Li said:
      But you need change the UART protocol and disable the EMDC UART output in case the conflict of UART usage.
      • Can it be achieved by disabling some MACRO in any fie?

    It seems like clock and baud rate setting are not getting tuned between my laptop and EVM.

    Any suggestion to overcome this issue?

    Regards,

    Malay

  • Hi Hawken Li,

    Did you get a chance to look at the updated query?

    Thank you.

    Regards,

    Malay

**Attention** This is a public forum