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.

Linux/MSP-EXP430FR5969: Opening Serial Connection from Linux PC to MSP430

Part Number: MSP-EXP430FR5969

Tool/software: Linux

I'm having trouble establishing a serial connection from my Linux PC to the MSP430.

After running the LED demo from the Resource Explorer (msp430fr59xx_1.c) I wanted to move to something more interactive. I found an example that accepts PC input over a UART connection and then echos it back (msp430fr59xx_euscia0_uart_01.c) but I can't get it to work properly. I've opened a connection with minicom and I've set the baud rate to be 9600 as specified in the code.

Is there some additional configuration required on the Launchpad side or the PC side to enable serial communication?

Additionally, why do I see two serial connections appear (ttyACM0 and ttyACM1) when I plug in the Launchpad to the PC?

  • Hello Mike,

    sorry, but this is a Linux question and not MSP430 related question. Thus I'd suggest trying to solve this in some Linux related forum.

    From your description, I assume the ttyACM0 and ttyACM1 is equivalent what you would see with our Launchpads with Windows, where there is one instance for the debugging interface and one virtual COM port used e.g. in the case of the mentioned echo code example for the UART. The USB interface is here being used to transmit UART data RX/TX between the PC and Launchpad. The debugger section of the LP support this conversion from UART on the MSP430 side to USB/virtual COM port on the PC side.

    That's unfortunately all I can tell you on this. The other thing I'd suggest, is looking at the RX/TX signals on the Launchpad, especially the data coming from the PC side. Maybe something is wrong with the protocol, like additional parity or something similar dependent on the terminal SW you're using on the PC side.

    Best regards

    Peter

  • Hi Peter,

    Thanks for the info. As far as I can tell everything on the Linux side is configured properly. I just wanted to verify that I'm not missing some jumper configuration or specification for what the MSP430 expects.

    Assuming that the application you use for serial communication on Windows makes this info available, can you tell me your serial config for baud rate, number of bits, and parity?

    Cheers,
    Michael

  • UPDATE: the UART connection seems to be functioning normally. With this setup, the way minicom prints the output was confusing but after further investigation its working as intended.

**Attention** This is a public forum