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.

EVM430F6779 interface to microcontroller using RS232

Other Parts Discussed in Thread: MSP430F6779A, MSP430F6779

I purchased EVM430F6779 kit. I interfaced this kit to my computer using GUI and i am able to see the values.

I want to interface microcontroller to this kit using RS232 port.

I do not have JTAG programmer to program MSP430F6779A chip, so i am going to proceed with the pre loaded code.

I did some research and found that the pre loaded code doesnot send the power output to RS232 continuously as it sends to the RF ports and LCD.

So my doubt is, What should i do if i have to get output from RS232 without flashing MSP chip?

Does this meter have any protocol or DLMS(Device Language Message Specification) code? If yes where do i get the details related to this? I have surfed a lot and i didnt get any leads.

What input should i give to RS232 port from microcontroller so that the meter pushes the data to rs232 port?

How is GUI able to communicate using RS232? What commands does GUI give to meter and fetch the output.

Please help me with answers to above questions.

Thank you in advance.

  • Have you populated the RX_EN and TX_EN jumpers for enabling RS-232 receive and transmit functionality (Table 1 of SLAA577)? A DLMS library for MSP430 E-meters (DLMSOBJ-EVAL) does exist but I don't know if it's included in the pre-loaded software. Commands for communicating with the GUI follow a similar protocol to that of Section 7.2 in SLAA638.

    Regards,
    Ryan
  • Thank You for your reply Mr Rayan.
    Yes i have populated RX_EN and TX_EN and i am able to communicate using GUI. I have no problem using GUI for getting the meter readings.
    I want to interface microcontroller using UART protocol on RS232 and for that i will have to give some commands like GUI does, so i would like to know those commands.
    I did some research and i got to know that DL/T 645 -2007 protocol is used. I am working on its byte formats.
    What i want to achieve now is to communicate to MSP430F6779 3-Phase energy meter using some serial utility instead of GUI
    For achieving this i need to know what commands are shared between GUI and meter.
    Can you please help me by providing document links related to DL/T645 protocol?
  • I have already provided what I know about the serial communication, you can either view the MSP430-ENERGY-LIBRARY source files (emeter-dlt645.c most likely contains the information you are looking for) or use a logic analyzer to further investigate the RX/TX communication protocol shared between the MSP430 and PC.

    Regards,
    Ryan
  • Ok thank you. Cheers!!

**Attention** This is a public forum