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.

CCS/MSP430F5438A: MSP430F5438A

Part Number: MSP430F5438A
Other Parts Discussed in Thread: MSPDRIVERLIB

Tool/software: Code Composer Studio

Hi there,

I am new in the world of MSP430 and I'd like to know if anyone has already synchronized the MSP430 clock with the PC clock.

What I mean is, in an application with MSP430, is it possible to synchronize MSP430 time and date  parameters from PC's clock?

  • Hi Fabio!

    I first thought you mean the processor's clock...but you mean the time - you can, of course, write a small application for the PC that sends the date and time over the RS232/UART to the MSP430 in fixed intervals like every hour to keep both synchronized. The MSP would have it's own clock running, adjusting it's time if necessary. There are various programs you could use for writing the application. A simple and easy (but maybe not the best) program could be Visual Basic, for example.

    Dennis
  • Hi Dennis,
    Thanks, I'll figure out how to do this.
    I'm starting to work with the MSP430 launchpad and how it does communication with the computer.
    I am already able to send data via UART and I am studying how to make the MSP430 send the request to the computer to receive the time data.
    The idea is to use the MSP430F5438A lauchpad connected to equipment that will collect measurement data and the computer's time data is important to synchronize the information.

  • If you are creating a commercial product, the only practical way of communicating with a PC is USB, or WLAN through the internet.

    Or is this a one-off thing? The MSP-EXP430F5438 board has a separate USB/serial interface chip, which is connected to the MSP's USCI_A1 UART. (The MSP430F5438A web page has example programs that show how to use the USCI_A0 UART, and the MSPDRIVERLIB package also has examples.)

  • Hi Clemens Ladish

    Yes I used an USB port to communicate with computer, but I'm not creating a commercial product, just researching about how to use the MSP430 to send data between two devices and Computer. In this case I need that devices and computer are synchronized. That's why I'm trying to synchronize with the computer's clock time.
    I checked some examples, but none of them show how to get the data from computer's clock time.
    I'm working checking others examples to find any solution.
    Thanks for your comment.

**Attention** This is a public forum