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.

How can we port the values from ADC of msp430f5529 to PC and view it in laptop and process using MATLAB???

Other Parts Discussed in Thread: MSP430F5529, MSP-EXP430F5529LP

Hi am doing a biomedical project. I want to do a ADC which has a sampling frequency of 100Hz in msp430f5529 and those digital values has to be ported to my laptop ?

  • Such question is answered multiple times on this forum. For example in this thread

  • Thanks,,,,

    i want those values in matlab is it possible directly?

  • Hi Joseph!

    As far as I remember, MATLAB has something called the Instrument Control Toolbox that was used for communication via the RS232 serial interface. I guess you are using the MSP-EXP430F5529LP (or the white MSP-EXP430F5529)? If you have a look into the device manager you will see that the LaunchPad also creates a virtual COM port when plugging the USB cable in. This virtual COM port acts as RS232 interface.

    And Ilmars already posted links that guide you into the right direction. You will have to use the MSP's UART. Look at the code examples for the MSP430F5529, they have multiple examples for using the UART:

    • MSP430F55xx_uscia0_uart_01.c      USCI_A0, 115200 UART Echo ISR, DCO SMCLK
    • MSP430F55xx_uscia0_uart_02.c      USCI_A0, Ultra-Low Pwr UART 2400 Echo ISR, 32kHz ACLK
    • MSP430F55xx_uscia0_uart_03.c      USCI_A0, Ultra-Low Pwr UART 9600 Echo ISR, 32kHz ACLK
    • MSP430F55xx_uscia0_uart_04.c      USCI_A0, 9600 UART, SMCLK, LPM0, Echo with over-sampling

    Use those to get started or do an extended forum search to find examples for it. The UART is very easy to use.

    Dennis

**Attention** This is a public forum